From 1237750c553c2a33f74cdc520e1abd22c98de28c Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 7 Jul 2015 19:33:21 +0200 Subject: nomic: don't suspend on lid switch et al. --- modules/nomic/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'modules/nomic') 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 = [ -- cgit v1.2.3