diff --git a/modules/common-non-darwin.nix b/modules/common-non-darwin.nix index eafde8d..2decac7 100644 --- a/modules/common-non-darwin.nix +++ b/modules/common-non-darwin.nix @@ -18,7 +18,7 @@ config = { # Default to /tmp on disk, move it to tmpfs if server big enough - boot.cleanTmpDir = true; + boot.tmp.cleanOnBoot = true; documentation.nixos.enable = false; programs.mosh.enable = true; @@ -38,7 +38,7 @@ services.openssh = { enable = true; - passwordAuthentication = false; + settings.PasswordAuthentication = false; ports = [ 17788 ]; };