diff options
| author | adikro <adikro@disroot.org> | 2025-12-24 16:21:00 +0100 |
|---|---|---|
| committer | adikro <adikro@disroot.org> | 2025-12-24 16:21:00 +0100 |
| commit | 6aaa5993e4c1cfb205ed555d958702f9bba1770d (patch) | |
| tree | 3af8cf20967cf10542edd2e51232b1da70002fde /hm/soft/yt-dlp.nix | |
| parent | 2ceabfd1d1dc03ca895e960048b73a82e29e45e8 (diff) | |
a bunch of changes, renames sys to os and refactored some of the logic
Diffstat (limited to 'hm/soft/yt-dlp.nix')
| -rw-r--r-- | hm/soft/yt-dlp.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/hm/soft/yt-dlp.nix b/hm/soft/yt-dlp.nix new file mode 100644 index 0000000..4773464 --- /dev/null +++ b/hm/soft/yt-dlp.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: +let + cfg = config.hm.soft.yt-dlp; +in +{ + options.hm.soft.yt-dlp.enable = lib.mkEnableOption "youtube content downloading tool"; + config = lib.mkIf cfg.enable { + programs.yt-dlp = { + enable = true; + package = pkgs.yt-dlp_git; + settings = { + + }; + }; + }; +} |
