mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +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 = {
|
|
||||||
libinput.mouse.middleEmulation = false;
|
|
||||||
deviceSection = ''
|
|
||||||
Option "VariableRefresh" "true"
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
openssh.startWhenNeeded = true;
|
||||||
earlyoom.enable = true;
|
earlyoom.enable = true;
|
||||||
|
|
||||||
|
xserver = {
|
||||||
|
libinput.mouse.middleEmulation = false;
|
||||||
|
deviceSection = ''
|
||||||
|
Option "VariableRefresh" "true"
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
avahi = {
|
avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
nssmdns = true;
|
nssmdns = true;
|
||||||
|
|
|
@ -4,7 +4,6 @@ with lib;
|
||||||
config = mkIf (config.sconfig.profile == "server") {
|
config = mkIf (config.sconfig.profile == "server") {
|
||||||
services.logind.lidSwitch = "ignore";
|
services.logind.lidSwitch = "ignore";
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
services.openssh.startWhenNeeded = true;
|
|
||||||
documentation.nixos.enable = false;
|
documentation.nixos.enable = false;
|
||||||
nix.gc = {
|
nix.gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
|
|
Loading…
Reference in a new issue