{ 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 = { }; }; }; }