Move yt-dlp configuration from g extension
This commit is contained in:
parent
88d087c3ce
commit
050901da2f
2 changed files with 17 additions and 1 deletions
12
hm/extra.nix
12
hm/extra.nix
|
@ -3,13 +3,23 @@
|
|||
config = lib.mkIf config.frogeye.extra {
|
||||
programs = {
|
||||
pandoc.enable = true;
|
||||
yt-dlp = {
|
||||
enable = true;
|
||||
settings = {
|
||||
format = "bestvideo[height<=${builtins.toString config.frogeye.desktop.maxVideoHeight}]+bestaudio/best";
|
||||
sponsorblock-mark = "all";
|
||||
sponsorblock-remove = "intro,outro,sponsor,selfpromo,preview,interaction,music_offtopic";
|
||||
sub-langs = "en,fr";
|
||||
write-auto-subs = true;
|
||||
write-subs = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; ([
|
||||
# android tools
|
||||
android-tools
|
||||
|
||||
# downloading
|
||||
yt-dlp
|
||||
megatools
|
||||
# transmission TODO Collision if both transmissions are active?
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue