2024-12-18 09:40:11 +03:00
|
|
|
{ lib, ... }:
|
2024-11-16 04:43:59 +03:00
|
|
|
{
|
2024-12-18 09:40:11 +03:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
};
|
2024-11-16 04:43:59 +03:00
|
|
|
}
|