mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
openssh.startWhenNeeded, move setting
This commit is contained in:
parent
a52232a5d6
commit
4fd7f9f40f
2 changed files with 9 additions and 8 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue