summaryrefslogtreecommitdiffstats
path: root/modules/nomic/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/nomic/default.nix')
-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 2485a96c1..88dcd0ca8 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 = [