[Power] fix and uncomment policy option

It has no effect yet.
This commit is contained in:
Antoine Viallon 2023-05-02 20:32:31 +02:00
parent 2a7d942702
commit d994b0138c
Signed by: aviallon
GPG key ID: 186FC35EDEB25716

View file

@ -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 = {