21 lines
419 B
Nix
21 lines
419 B
Nix
{ 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;
|
|
};
|
|
};
|
|
};
|
|
}
|