nix/option/Powersave.nix

23 lines
380 B
Nix
Raw Normal View History

2024-11-16 04:43:59 +03:00
{
lib,
...
}: {
options.module.powersave = {
enable = lib.mkEnableOption "the powersave";
cpu.boost = {
disableCmd = lib.mkOption {
default = null;
type = lib.types.str;
};
enableCmd = lib.mkOption {
default = null;
type = lib.types.str;
};
controlFile = lib.mkOption {
default = null;
type = lib.types.str;
};
};
};
}