diff --git a/configuration.nix b/configuration.nix index 9d19b18..0ce75a6 100644 --- a/configuration.nix +++ b/configuration.nix @@ -93,6 +93,12 @@ dates = "14:00"; }; + # Suspend to RAM/disk when battery is critical + services.upower = { + enable = true; + percentageCritical = 5; + }; + # Import other configuration modules imports = [ ./modules/software.nix