diff options
Diffstat (limited to 'hm/soft')
| -rw-r--r-- | hm/soft/kdeconnect.nix | 6 | ||||
| -rw-r--r-- | hm/soft/media.nix | 3 | ||||
| -rw-r--r-- | hm/soft/yt-dlp.nix | 16 |
3 files changed, 18 insertions, 7 deletions
diff --git a/hm/soft/kdeconnect.nix b/hm/soft/kdeconnect.nix index 07a5d9e..fbaea82 100644 --- a/hm/soft/kdeconnect.nix +++ b/hm/soft/kdeconnect.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: let cfg = config.hm.soft.kdeconnect; in @@ -7,9 +7,5 @@ in config = lib.mkIf cfg.enable { services.kdeconnect.enable = true; - - home.packages = [ - pkgs.kdePackages.dolphin - ]; }; } diff --git a/hm/soft/media.nix b/hm/soft/media.nix index b330908..0d18595 100644 --- a/hm/soft/media.nix +++ b/hm/soft/media.nix @@ -6,6 +6,9 @@ in options.hm.soft.media.enable = lib.mkEnableOption "media cli tools"; config = lib.mkIf cfg.enable { home.packages = with pkgs; [ + gimp + zathura + pinta ffmpeg imagemagick syncplay-nogui diff --git a/hm/soft/yt-dlp.nix b/hm/soft/yt-dlp.nix index 4773464..e50f313 100644 --- a/hm/soft/yt-dlp.nix +++ b/hm/soft/yt-dlp.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: let cfg = config.hm.soft.yt-dlp; in @@ -7,9 +7,21 @@ in config = lib.mkIf cfg.enable { programs.yt-dlp = { enable = true; - package = pkgs.yt-dlp_git; settings = { + format = "bestvideo+bestaudio/best"; + merge-output-format = "webm"; + prefer-free-formats = true; + paths = "~/dl/yt"; + output = "\"%(uploader)s - %(title)s.%(ext)s\""; + download-archive = "~/.config/yt-dlp/archive.txt"; + # restrict-filenames = true; + + embed-subs = true; + sub-langs = "en.*"; + + embed-metadata = true; + embed-chapters = true; }; }; }; |
