From e203311de813949dec992b76b04410068768eaf5 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 10 Mar 2021 21:21:55 +0100 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- user-profiles/mpv/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'user-profiles/mpv') 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 @@ -{ userName, pkgs, ... }: +{ config, userName, pkgs, ... }: { home-manager.users.${userName}.programs.mpv = { enable = true; @@ -8,7 +8,7 @@ config = { ytdl = true; 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]"; - ytdl-raw-options = "netrc=,mark-watched="; + ytdl-raw-options = "netrc=,mark-watched=,cookies=${config.home-manager.users.${userName}.home.homeDirectory}/Downloads/cookies.txt"; sub = false; osd-font = "DejaVu Sans"; vo = "gpu"; -- cgit v1.2.3