From 382681f4c8136ad2cc362a0d839152f15d078f73 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Sat, 11 Sep 2021 19:11:10 -0400 Subject: [PATCH] logind.lidSwitch ignore --- modules/server.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/server.nix b/modules/server.nix index b53abd7..2896b4a 100644 --- a/modules/server.nix +++ b/modules/server.nix @@ -2,6 +2,7 @@ with lib; { config = mkIf (config.sconfig.profile == "server") { + services.logind.lidSwitch = "ignore"; services.openssh.enable = true; services.openssh.startWhenNeeded = true; documentation.nixos.enable = false;