diff --git a/hosts/ritual/configuration.nix b/hosts/ritual/configuration.nix index f7e4fe4..7480667 100644 --- a/hosts/ritual/configuration.nix +++ b/hosts/ritual/configuration.nix @@ -54,7 +54,7 @@ }; # Don't suspend when closed and plugged into power - services.logind.lidSwitchExternalPower = "ignore"; + services.logind.lidSwitchExternalPower = "lock"; # This value determines the NixOS release from which the default # settings for stateful data, like file locations and database versions