openssh.startWhenNeeded, move setting

This commit is contained in:
Sean Buckley 2021-11-12 11:09:04 -05:00
parent a52232a5d6
commit 4fd7f9f40f
2 changed files with 9 additions and 8 deletions

View file

@ -38,15 +38,17 @@
'';
};
services.xserver = {
services = {
openssh.startWhenNeeded = true;
earlyoom.enable = true;
xserver = {
libinput.mouse.middleEmulation = false;
deviceSection = ''
Option "VariableRefresh" "true"
'';
};
services = {
earlyoom.enable = true;
avahi = {
enable = true;
nssmdns = true;

View file

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