mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 07:23:20 +00:00
nixos/undervolt: add turbo option
This commit is contained in:
parent
e9a724f00f
commit
eaa1034a80
@ -12,6 +12,7 @@ let
|
||||
inherit (cfg)
|
||||
verbose
|
||||
temp
|
||||
turbo
|
||||
;
|
||||
# `core` and `cache` are both intentionally set to `cfg.coreOffset` as according to the undervolt docs:
|
||||
#
|
||||
@ -105,6 +106,14 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
turbo = mkOption {
|
||||
type = types.nullOr types.int;
|
||||
default = null;
|
||||
description = lib.mdDoc ''
|
||||
Changes the Intel Turbo feature status (1 is disabled and 0 is enabled).
|
||||
'';
|
||||
};
|
||||
|
||||
p1.limit = mkOption {
|
||||
type = with types; nullOr int;
|
||||
default = null;
|
||||
|
Loading…
Reference in New Issue
Block a user