Updated azos core for xdg, added ytdl

This commit is contained in:
2025-11-04 22:12:13 +02:00
parent 6d685efded
commit 9284f6459e
4 changed files with 39 additions and 17 deletions
+1
View File
@@ -1,6 +1,7 @@
{
imports = [
./zoom.nix
./ytdl.nix
./mail.nix
./encryption.nix
./kubernetes.nix
+21
View File
@@ -0,0 +1,21 @@
{
lib,
config,
pkgs,
...
}: let
isEnabled =
config.azos.discord.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
];
};
}