From 42b5c7347b929417baf84d40b55f5c83419d3a88 Mon Sep 17 00:00:00 2001 From: Christopher James Hayward Date: Sun, 18 Jul 2021 16:11:21 -0400 Subject: [PATCH] Add power management to acernitro --- README.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.org b/README.org index 4c7835d..d6731fc 100644 --- a/README.org +++ b/README.org @@ -533,6 +533,7 @@ This configuration is nearly identical to the default, except for a few key diff + Enables sound + Applies the desired hostname ++ Enables power management daemon + It adds support for =UEFI= systems + Enables support for wireless networking @@ -555,6 +556,7 @@ This configuration is nearly identical to the default, except for a few key diff <> <> + services.tlp.enable = true; services.xserver.dpi = 96; services.xserver.libinput.touchpad.tapping = false; services.printing.enable = true; @@ -574,6 +576,7 @@ This configuration is nearly identical to the default, except for a few key diff *** Hardware + Enables sound via PulseAudio ++ Enables powertop via power management + Adds support for the NVIDIA Hybrid GPU #+BEGIN_SRC nix :noweb yes :tangle hosts/acernitro/hardware.nix @@ -611,6 +614,7 @@ This configuration is nearly identical to the default, except for a few key diff [ { device = "/dev/disk/by-uuid/bef7bf62-d26f-45b1-a1f8-1227c2f8b26a"; } ]; + powerManagement.powertop.enable = true; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; } #+END_SRC