diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-03 15:51:31 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2025-01-03 15:51:31 +0100 |
commit | 27a172993d78bf736ab1e5a14a7a5525f4866235 (patch) | |
tree | 574961cae5bb86fd88090b21c1680abea0d9ccc8 | |
parent | bc67eb3226ef9880cd368be02dac3afde89661e9 (diff) | |
download | nixos-27a172993d78bf736ab1e5a14a7a5525f4866235.tar nixos-27a172993d78bf736ab1e5a14a7a5525f4866235.tar.gz nixos-27a172993d78bf736ab1e5a14a7a5525f4866235.tar.bz2 nixos-27a172993d78bf736ab1e5a14a7a5525f4866235.tar.xz nixos-27a172993d78bf736ab1e5a14a7a5525f4866235.zip |
...
-rw-r--r-- | accounts/gkleen@sif/default.nix | 3 | ||||
-rw-r--r-- | user-profiles/mpv/default.nix | 5 | ||||
-rw-r--r-- | user-profiles/yt-dlp.nix | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 00707e87..68faa201 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix | |||
@@ -271,7 +271,8 @@ in { | |||
271 | output = [ "eDP-1" "DP-2" "DP-3" ]; | 271 | output = [ "eDP-1" "DP-2" "DP-3" ]; |
272 | modules-left = [ "hyprland/workspaces" ]; | 272 | modules-left = [ "hyprland/workspaces" ]; |
273 | modules-center = [ "hyprland/window" ]; | 273 | modules-center = [ "hyprland/window" ]; |
274 | modules-right = [ "custom/worktime" "custom/worktime-today" "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; | 274 | modules-right = [ # "custom/worktime" "custom/worktime-today" |
275 | "custom/weather" "custom/keymap" "privacy" "tray" "wireplumber" "backlight" "battery" "idle_inhibitor" "clock" ]; | ||
275 | 276 | ||
276 | "custom/weather" = { | 277 | "custom/weather" = { |
277 | format = "{}"; | 278 | format = "{}"; |
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; |