mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-05 17:27:50 +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;
|
||||
description = "Wether to enable power related tuning";
|
||||
};
|
||||
/*policy = mkOption {
|
||||
policy = mkOption {
|
||||
default = "performance";
|
||||
example = "efficiency";
|
||||
description = "What to optimize towards";
|
||||
type = types.either [ "performance" "efficiency" ];
|
||||
};*/
|
||||
type = types.enum [ "performance" "efficiency" ];
|
||||
};
|
||||
powerLimit = {
|
||||
enable = mkEnableOption "power limiting";
|
||||
ac = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue