From 27a172993d78bf736ab1e5a14a7a5525f4866235 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 3 Jan 2025 15:51:31 +0100 Subject: ... --- user-profiles/mpv/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'user-profiles/mpv') diff --git a/user-profiles/mpv/default.nix b/user-profiles/mpv/default.nix index 2df87994..83eba2a9 100644 --- a/user-profiles/mpv/default.nix +++ b/user-profiles/mpv/default.nix @@ -1,6 +1,6 @@ -{ config, lib, userName, pkgs, sources, ... }: +{ lib, userName, pkgs, sources, ... }: { - home-manager.users.${userName} = { + home-manager.users.${userName} = { config, ... }: { programs.mpv = { enable = true; package = pkgs.symlinkJoin { @@ -105,6 +105,7 @@ }; config = { ytdl = true; + ytdl-raw-options = "sub-langs=\"${config.programs.yt-dlp.settings.sub-langs}\""; subs-with-matching-audio = false; audio-display = false; osd-font = "Fira Sans"; -- cgit v1.2.3