summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 2485a96..88dcd0c 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 = [