summaryrefslogtreecommitdiff
path: root/user-profiles
diff options
context:
space:
mode:
Diffstat (limited to 'user-profiles')
-rw-r--r--user-profiles/mpv/default.nix5
-rw-r--r--user-profiles/yt-dlp.nix2
2 files changed, 4 insertions, 3 deletions
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 @@
1{ config, lib, userName, pkgs, sources, ... }: 1{ lib, userName, pkgs, sources, ... }:
2{ 2{
3 home-manager.users.${userName} = { 3 home-manager.users.${userName} = { config, ... }: {
4 programs.mpv = { 4 programs.mpv = {
5 enable = true; 5 enable = true;
6 package = pkgs.symlinkJoin { 6 package = pkgs.symlinkJoin {
@@ -105,6 +105,7 @@
105 }; 105 };
106 config = { 106 config = {
107 ytdl = true; 107 ytdl = true;
108 ytdl-raw-options = "sub-langs=\"${config.programs.yt-dlp.settings.sub-langs}\"";
108 subs-with-matching-audio = false; 109 subs-with-matching-audio = false;
109 audio-display = false; 110 audio-display = false;
110 osd-font = "Fira Sans"; 111 osd-font = "Fira Sans";
diff --git a/user-profiles/yt-dlp.nix b/user-profiles/yt-dlp.nix
index 0f0b2204..9e77f734 100644
--- a/user-profiles/yt-dlp.nix
+++ b/user-profiles/yt-dlp.nix
@@ -14,7 +14,7 @@
14 ]; 14 ];
15 embed-subs = true; 15 embed-subs = true;
16 # write-subs = true; 16 # write-subs = true;
17 # write-auto-subs = true; 17 write-auto-subs = true;
18 sub-langs = "en(-(gb|us|orig))?,de(-(de|orig))?,-live_chat,-rechat"; 18 sub-langs = "en(-(gb|us|orig))?,de(-(de|orig))?,-live_chat,-rechat";
19 prefer-free-formats = true; 19 prefer-free-formats = true;
20 embed-metadata = true; 20 embed-metadata = true;