feat: switch from powertop to tlp

This commit is contained in:
Youwen Wu 2024-08-10 17:05:24 -07:00
parent 908c2d52da
commit fed385b023
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 2 additions and 2 deletions

View file

@ -47,7 +47,7 @@
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; services.tlp.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,7 +181,7 @@
}; };
}; };
powerManagement.powertop.enable = true; services.tlp.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";