nix/option/PowerlimitThinkpad.nix

23 lines
452 B
Nix
Raw Permalink Normal View History

{ lib, ... }:
2024-11-16 04:43:59 +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
}