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";
};
programs.yt-dlp = {
enable = true;
settings = {
embed-thumbnail = true;
embed-subs = true;
sub-langs = "all";
};
};
home.activation.reportChanges = config.lib.dag.entryAnywhere ''
if [[ -v oldGenPath ]]; then
run nix store diff-closures $oldGenPath $newGenPath