summaryrefslogtreecommitdiff
path: root/hm/soft/yt-dlp.nix
diff options
context:
space:
mode:
Diffstat (limited to 'hm/soft/yt-dlp.nix')
-rw-r--r--hm/soft/yt-dlp.nix16
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 = {
+
+ };
+ };
+ };
+}