forked from poz/niksos
16 lines
317 B
Nix
16 lines
317 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: with lib; let
|
|
cfg = config.myOptions.services.asusd;
|
|
in {
|
|
options.myOptions.services.asusd.enable = mkEnableOption "enable asusd";
|
|
|
|
config = mkIf cfg.enable {
|
|
services.asusd = {
|
|
enable = true;
|
|
enableUserService = true;
|
|
};
|
|
};
|
|
}
|