From fed385b023b806495a8c175b5f67b033089029cf Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 10 Aug 2024 17:05:24 -0700 Subject: [PATCH] feat: switch from powertop to tlp --- hosts/adrastea/default.nix | 2 +- hosts/callisto/default.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hosts/adrastea/default.nix b/hosts/adrastea/default.nix index cb49159..5cb7247 100755 --- a/hosts/adrastea/default.nix +++ b/hosts/adrastea/default.nix @@ -47,7 +47,7 @@ boot.initrd.luks.devices."luks-52d1be6d-b32f-41e0-a6d7-2ff52599fe7c".device = "/dev/disk/by-uuid/52d1be6d-b32f-41e0-a6d7-2ff52599fe7c"; - powerManagement.powertop.enable = true; + services.tlp.enable = true; networking.hostName = "adrastea"; # Define your hostname. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. diff --git a/hosts/callisto/default.nix b/hosts/callisto/default.nix index 7471dcf..7d493bd 100755 --- a/hosts/callisto/default.nix +++ b/hosts/callisto/default.nix @@ -181,7 +181,7 @@ }; }; - powerManagement.powertop.enable = true; + services.tlp.enable = true; # tells electron apps to use Wayland environment.sessionVariables.NIXOS_OZONE_WL = "1";