summaryrefslogtreecommitdiff
path: root/user-profiles/mpv
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2021-03-10 21:21:55 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2021-03-10 21:21:55 +0100
commite203311de813949dec992b76b04410068768eaf5 (patch)
tree7ab620c96fbb8316b16c7f48546bc7e772bff939 /user-profiles/mpv
parent75dfe61a72f41c55b281bc81aa2e8b6e708a6124 (diff)
downloadnixos-e203311de813949dec992b76b04410068768eaf5.tar
nixos-e203311de813949dec992b76b04410068768eaf5.tar.gz
nixos-e203311de813949dec992b76b04410068768eaf5.tar.bz2
nixos-e203311de813949dec992b76b04410068768eaf5.tar.xz
nixos-e203311de813949dec992b76b04410068768eaf5.zip
Diffstat (limited to 'user-profiles/mpv')
-rw-r--r--user-profiles/mpv/default.nix4
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";