diff options
author | tv <tv@shackspace.de> | 2015-07-07 19:33:21 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-07 19:33:21 +0200 |
commit | 1237750c553c2a33f74cdc520e1abd22c98de28c (patch) | |
tree | d233bc411a5b9d6e5ada9d1818990f38031dd9a7 | |
parent | abfa54f90175819f546a92722285c32d2d6aa96b (diff) |
nomic: don't suspend on lid switch et al.
-rw-r--r-- | modules/nomic/default.nix | 7 |
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 = [ |