yt-dlp: migrate from plain package to home-manager module

This commit is contained in:
Trolli Schmittlauch 2025-11-07 12:21:07 +01:00
parent 52e00bbadd
commit e759503e77
3 changed files with 10 additions and 2 deletions

View file

@ -170,6 +170,15 @@
EDITOR = "nvim"; EDITOR = "nvim";
}; };
programs.yt-dlp = {
enable = true;
settings = {
embed-thumbnail = true;
embed-subs = true;
sub-langs = "all";
};
};
home.activation.reportChanges = config.lib.dag.entryAnywhere '' home.activation.reportChanges = config.lib.dag.entryAnywhere ''
if [[ -v oldGenPath ]]; then if [[ -v oldGenPath ]]; then
run nix store diff-closures $oldGenPath $newGenPath run nix store diff-closures $oldGenPath $newGenPath

View file

@ -33,7 +33,6 @@ let
multimediaApps = [ multimediaApps = [
mpv mpv
yt-dlp
] ]
++ lib.optionals pkgs.stdenv.isDarwin [ vlc-bin ] ++ lib.optionals pkgs.stdenv.isDarwin [ vlc-bin ]
++ lib.optionals pkgs.stdenv.isLinux [ ++ lib.optionals pkgs.stdenv.isLinux [

View file

@ -58,7 +58,7 @@
]); ]);
in in
{ {
"telemetry.enableTelemetry" = false; # might not be needed for Codium "telemetry.enableTelemetry" = false; # might not be needed for Codium
"editor.fontLigatures" = true; "editor.fontLigatures" = true;
"editor.accessibilitySupport" = false; # prevent asking "editor.accessibilitySupport" = false; # prevent asking
"editor.cursorBlinking" = "phase"; "editor.cursorBlinking" = "phase";