mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Power] fix and uncomment policy option
It has no effect yet.
This commit is contained in:
parent
2a7d942702
commit
d994b0138c
1 changed files with 3 additions and 3 deletions
|
|
@ -12,12 +12,12 @@ in {
|
||||||
type = types.bool;
|
type = types.bool;
|
||||||
description = "Wether to enable power related tuning";
|
description = "Wether to enable power related tuning";
|
||||||
};
|
};
|
||||||
/*policy = mkOption {
|
policy = mkOption {
|
||||||
default = "performance";
|
default = "performance";
|
||||||
example = "efficiency";
|
example = "efficiency";
|
||||||
description = "What to optimize towards";
|
description = "What to optimize towards";
|
||||||
type = types.either [ "performance" "efficiency" ];
|
type = types.enum [ "performance" "efficiency" ];
|
||||||
};*/
|
};
|
||||||
powerLimit = {
|
powerLimit = {
|
||||||
enable = mkEnableOption "power limiting";
|
enable = mkEnableOption "power limiting";
|
||||||
ac = {
|
ac = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue