feat: enable powertop auto-tune on laptops

This commit is contained in:
Youwen Wu 2024-08-10 16:58:29 -07:00
parent f31cbd6d56
commit 908c2d52da
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 4 additions and 0 deletions

View file

@ -47,6 +47,8 @@
boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device = boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device =
"/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c"; "/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c";
powerManagement.powertop.enable = true;
networking.hostName = "adrastea"; # Define your hostname. networking.hostName = "adrastea"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.

View file

@ -181,6 +181,8 @@
}; };
}; };
powerManagement.powertop.enable = true;
# tells electron apps to use Wayland # tells electron apps to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";