diff --git a/hosts/inspiron/hardware.nix b/hosts/inspiron/hardware.nix index 47d4882..363b59e 100644 --- a/hosts/inspiron/hardware.nix +++ b/hosts/inspiron/hardware.nix @@ -25,6 +25,10 @@ fwupd.enable = true; auto-cpufreq.enable = true; logind.lidSwitch = "ignore"; + upower = { + enable = true; + criticalPowerAction = "Hibernate"; + }; }; # Allow access to labrador usb device