diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index 28fc374..2e60ef6 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -76,6 +76,14 @@ in { }; }; + # logind configuration + services.logind = { + lidSwitch = "ignore"; + extraConfig = '' + HandlePowerKey=suspend + ''; + }; + # internationalisation time.timeZone = "Europe/Paris"; i18n.defaultLocale = "en_DK.UTF-8";