From 59f6f011840839d65038657f936d050da2fc3fb3 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 18 Jul 2021 16:11:52 -0400 Subject: [PATCH] See last --- hosts/acernitro/configuration.nix | 1 + hosts/acernitro/hardware.nix | 1 + 2 files changed, 2 insertions(+) diff --git a/hosts/acernitro/configuration.nix b/hosts/acernitro/configuration.nix index bf99cc3..5fb2b7d 100644 --- a/hosts/acernitro/configuration.nix +++ b/hosts/acernitro/configuration.nix @@ -32,6 +32,7 @@ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIO4wka/LfG3pto15DIm9LIRbb6rWr7/ipCRiCdAKSlY4 chris@chrishayward.xyz" ]; + services.tlp.enable = true; services.xserver.dpi = 96; services.xserver.libinput.touchpad.tapping = false; services.printing.enable = true; diff --git a/hosts/acernitro/hardware.nix b/hosts/acernitro/hardware.nix index 9395c96..51848c7 100644 --- a/hosts/acernitro/hardware.nix +++ b/hosts/acernitro/hardware.nix @@ -32,5 +32,6 @@ [ { device = "/dev/disk/by-uuid/bef7bf62-d26f-45b1-a1f8-1227c2f8b26a"; } ]; + powerManagement.powertop.enable = true; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; }