feat: move tlp config to laptop configs
This commit is contained in:
parent
2d2b646d34
commit
7a5e17e8d8
4 changed files with 6 additions and 2 deletions
|
@ -26,8 +26,6 @@
|
||||||
powertop.enable = true;
|
powertop.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.tlp.enable = true;
|
|
||||||
|
|
||||||
services.acpid = {
|
services.acpid = {
|
||||||
enable = true;
|
enable = true;
|
||||||
logEvents = true;
|
logEvents = true;
|
||||||
|
|
|
@ -37,4 +37,6 @@
|
||||||
networking.useDHCP = lib.mkDefault true;
|
networking.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,4 +63,6 @@
|
||||||
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
|
||||||
|
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,4 +49,6 @@
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
|
||||||
hardware.sensor.iio.enable = true;
|
hardware.sensor.iio.enable = true;
|
||||||
|
|
||||||
|
services.tlp.enable = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue