add asusd for Tytonidae

This commit is contained in:
ulic-youthlic 2025-03-23 08:54:26 +08:00
parent 263aca485e
commit 1e5ee9f41a
Signed by: youthlic
GPG key ID: 63E86C3C14A0D721
4 changed files with 26 additions and 4 deletions

View file

@ -40,6 +40,7 @@
transmission.enable = true;
nix-ld.enable = true;
juicity.client.enable = true;
asusd.enable = true;
};
gui.enabled = "niri";
};

View file

@ -20,10 +20,10 @@
}
];
matchConfig.Name = "eno2";
networkConfig = {
DHCP = "yes";
IPv6AcceptRA = true;
};
# networkConfig = {
# DHCP = "yes";
# IPv6AcceptRA = true;
# };
};
};
};

View file

@ -0,0 +1,20 @@
{
config,
lib,
...
}:
let
cfg = config.youthlic.programs.asusd;
in
{
options = {
youthlic.programs.asusd = {
enable = lib.mkEnableOption "asusd";
};
};
config = lib.mkIf cfg.enable {
services.asusd = {
enable = true;
};
};
}

View file

@ -21,5 +21,6 @@
./juicity
./miniflux.nix
./guix.nix
./asusd.nix
];
}