nomic: don't suspend on lid switch et al.

This commit is contained in:
tv 2015-07-07 19:33:21 +02:00
parent abfa54f901
commit 1237750c55

View file

@ -81,6 +81,13 @@ in
wireless.enable = true;
};
services.logind.extraConfig = ''
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandlePowerKey=ignore
HandleSuspendKey=ignore
'';
services.openssh = {
enable = true;
hostKeys = [