diff options
Diffstat (limited to 'user-profiles/mpv/default.nix')
-rw-r--r-- | user-profiles/mpv/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix index ae791668..045094db 100644 --- a/user-profiles/mpv/default.nix +++ b/user-profiles/mpv/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { userName, pkgs, ... }: | 1 | { config, userName, pkgs, ... }: |
2 | { | 2 | { |
3 | home-manager.users.${userName}.programs.mpv = { | 3 | home-manager.users.${userName}.programs.mpv = { |
4 | enable = true; | 4 | enable = true; |
@@ -8,7 +8,7 @@ | |||
8 | config = { | 8 | config = { |
9 | ytdl = true; | 9 | ytdl = true; |
10 | ytdl-format = "bestvideo[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]/best[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]/best[protocol!=http_dash_segments]"; | 10 | ytdl-format = "bestvideo[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]+bestaudio[protocol!=http_dash_segments]/best[width<=2560][height<=1440][fps<=60][protocol!=http_dash_segments]/best[protocol!=http_dash_segments]"; |
11 | ytdl-raw-options = "netrc=,mark-watched="; | 11 | ytdl-raw-options = "netrc=,mark-watched=,cookies=${config.home-manager.users.${userName}.home.homeDirectory}/Downloads/cookies.txt"; |
12 | sub = false; | 12 | sub = false; |
13 | osd-font = "DejaVu Sans"; | 13 | osd-font = "DejaVu Sans"; |
14 | vo = "gpu"; | 14 | vo = "gpu"; |