summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/nomic/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/nomic/default.nix b/modules/nomic/default.nix
index 2485a96c..88dcd0ca 100644
--- a/modules/nomic/default.nix
+++ b/modules/nomic/default.nix
@@ -81,6 +81,13 @@ in
wireless.enable = true;
};
+ services.logind.extraConfig = ''
+ HandleHibernateKey=ignore
+ HandleLidSwitch=ignore
+ HandlePowerKey=ignore
+ HandleSuspendKey=ignore
+ '';
+
services.openssh = {
enable = true;
hostKeys = [