feat: logind config

This commit is contained in:
Laureηt 2023-01-01 18:18:05 +01:00
parent 918893fdac
commit 7bca399233
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -76,6 +76,14 @@ in {
}; };
}; };
# logind configuration
services.logind = {
lidSwitch = "ignore";
extraConfig = ''
HandlePowerKey=suspend
'';
};
# internationalisation # internationalisation
time.timeZone = "Europe/Paris"; time.timeZone = "Europe/Paris";
i18n.defaultLocale = "en_DK.UTF-8"; i18n.defaultLocale = "en_DK.UTF-8";