yt-dlp: migrate from plain package to home-manager module
This commit is contained in:
parent
52e00bbadd
commit
e759503e77
3 changed files with 10 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue