mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
logind.lidSwitch ignore
This commit is contained in:
parent
5fa7ffc443
commit
382681f4c8
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue