nix/option/PowerlimitThinkpad.nix

25 lines
422 B
Nix
Raw Normal View History

2024-11-16 04:43:59 +03:00
{
lib,
...
}: {
options.module.powerlimit.thinkpad = {
enable = lib.mkEnableOption "the powerlimit service";
onMin = lib.mkOption {
default = 40;
type = lib.types.int;
};
onMax = lib.mkOption {
default = 80;
type = lib.types.int;
};
offMin = lib.mkOption {
default = 90;
type = lib.types.int;
};
offMax = lib.mkOption {
default = 95;
type = lib.types.int;
};
};
}