about summary refs log tree commit diff
diff options
context:
space:
mode:
authordevhell <devhell@mailfresser.de>2024-03-02 15:10:30 +0000
committerdevhell <devhell@mailfresser.de>2024-03-02 15:10:30 +0000
commit5383eafc234bb191fa1c3ae4899a0c8bae9f4205 (patch)
treef0538652bfc75060cf8bbdd73c771c6beb4e75be
parent72607c7b4314a6fba075c05b14ed180364ed442c (diff)
machines/herja: add mem_sleep_default
As per NixOS's hardware library, this might be a good addition.
-rw-r--r--machines/devhell/herja.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/machines/devhell/herja.nix b/machines/devhell/herja.nix
index 0d8fa3b2..8d681ac7 100644
--- a/machines/devhell/herja.nix
+++ b/machines/devhell/herja.nix
@@ -19,7 +19,7 @@
     };
 
     kernelModules = [ "kvm-amd" "acpi_call" ];
-    kernelParams = [ "acpi_backlight=native" ];
+    kernelParams = [ "acpi_backlight=native" "mem_sleep_default=deep" ];
     extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
   };