Files
azos/modules/home-manager/ytdl.nix
T
2026-03-28 15:43:14 +03:00

22 lines
297 B
Nix
Executable File

{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.ytdl.enable;
in {
options.azos.ytdl.enable = lib.mkOption {
default = true;
example = true;
type = lib.types.bool;
};
config = lib.mkIf isEnabled {
home.packages = with pkgs; [
yt-dlp
];
};
}