Extract more modules

This commit is contained in:
Leonardo Eugênio 2022-10-18 22:41:40 -03:00
parent 64e43f4535
commit 15135aecee
6 changed files with 181 additions and 158 deletions

21
user/mpv.nix Normal file
View file

@ -0,0 +1,21 @@
_: {
config = {
programs.mpv = {
enable = true;
config = {
# ytdl-format='best';
ytdl_path = "yt-dlp";
ytdl-format = "bestvideo[height<=1080][vcodec!=vp9]+bestaudio/best";
ytdl-raw-options =
"cookies=~/.cache/cookies-youtube-com.txt,mark-watched=";
osd-fractions = true;
save-position-on-quit = true;
keep-open = true;
cache = true;
cache-pause-initial = true;
cache-pause-wait = 10;
};
};
};
}