IntelCpu : Disable powersave by default.
This commit is contained in:
parent
d0a4314338
commit
067c215640
|
@ -14,7 +14,10 @@
|
|||
amd.gpu.enable = true;
|
||||
builder.client.enable = true;
|
||||
desktop.sway.enable = true;
|
||||
intel.cpu.enable = true;
|
||||
intel.cpu = {
|
||||
enable = true;
|
||||
powersave = true;
|
||||
};
|
||||
print.enable = true;
|
||||
strongswan.enable = true;
|
||||
tablet.enable = true;
|
||||
|
|
|
@ -16,7 +16,10 @@
|
|||
autoupdate.enable = true;
|
||||
builder.client.enable = true;
|
||||
desktop.sway.enable = true;
|
||||
intel.cpu.enable = true;
|
||||
intel.cpu = {
|
||||
enable = true;
|
||||
powersave = true;
|
||||
};
|
||||
powerlimit.thinkpad.enable = true;
|
||||
print.enable = true;
|
||||
package = {
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
in {
|
||||
options = {
|
||||
module.intel.cpu = {
|
||||
enable = mkEnableOption "Support for Shintel CPUs";
|
||||
powersave.enable = mkEnableOption "Enable Shintel Cpu powersave." // { default = true; };
|
||||
enable = mkEnableOption "Support for Shintel CPUs";
|
||||
powersave = mkEnableOption "Enable Shintel Cpu powersave.";
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -17,7 +17,7 @@ in {
|
|||
{
|
||||
boot.kernelModules = [ "kvm-intel" ];
|
||||
}
|
||||
(mkIf cfg.powersave.enable {
|
||||
(mkIf cfg.powersave {
|
||||
module.powersave = {
|
||||
enable = true;
|
||||
cpu.boost = { inherit controlFile enableCmd disableCmd; };
|
||||
|
|
Loading…
Reference in a new issue