feat: added power management
parent
5558a65a50
commit
306e53d110
10
capibara.nix
10
capibara.nix
|
@ -63,6 +63,16 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.earlyoom.enable = true;
|
||||||
|
|
||||||
|
# Power management
|
||||||
|
powerManagement.enable = true;
|
||||||
|
services.upower.enable = true;
|
||||||
|
services.thermald.enable = true;
|
||||||
|
services.tlp.enable = true;
|
||||||
|
services.power-profiles-daemon.enable = false;
|
||||||
|
environment.systemPackages = with pkgs; [ powertop acpi ];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "capibara";
|
hostName = "capibara";
|
||||||
interfaces = {
|
interfaces = {
|
||||||
|
|
Loading…
Reference in New Issue