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;