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
|
||||
|
|
|
|||
|
|
@ -33,7 +33,6 @@ let
|
|||
|
||||
multimediaApps = [
|
||||
mpv
|
||||
yt-dlp
|
||||
]
|
||||
++ lib.optionals pkgs.stdenv.isDarwin [ vlc-bin ]
|
||||
++ lib.optionals pkgs.stdenv.isLinux [
|
||||
|
|
|
|||
|
|
@ -58,7 +58,7 @@
|
|||
]);
|
||||
in
|
||||
{
|
||||
"telemetry.enableTelemetry" = false; # might not be needed for Codium
|
||||
"telemetry.enableTelemetry" = false; # might not be needed for Codium
|
||||
"editor.fontLigatures" = true;
|
||||
"editor.accessibilitySupport" = false; # prevent asking
|
||||
"editor.cursorBlinking" = "phase";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue