logind.lidSwitch ignore

This commit is contained in:
Sean Buckley 2021-09-11 19:11:10 -04:00
parent 5fa7ffc443
commit 382681f4c8

View file

@ -2,6 +2,7 @@
with lib; with lib;
{ {
config = mkIf (config.sconfig.profile == "server") { config = mkIf (config.sconfig.profile == "server") {
services.logind.lidSwitch = "ignore";
services.openssh.enable = true; services.openssh.enable = true;
services.openssh.startWhenNeeded = true; services.openssh.startWhenNeeded = true;
documentation.nixos.enable = false; documentation.nixos.enable = false;