diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2023-06-04 10:31:42 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2023-06-04 10:31:42 -0400 |
commit | 8a3ede0d9c002a0129fe3d32059e9a05d41f274d (patch) | |
tree | 4371708948766a833f312fefd5fd3164986abf76 | |
parent | 40f2049fa58e5f597bcf61cbf9a0345305df8491 (diff) |
Updates
-rw-r--r-- | config/container.nix | 2 | ||||
-rw-r--r-- | config/router.nix | 2 | ||||
-rw-r--r-- | machines/dragon.nix | 2 | ||||
-rw-r--r-- | machines/firelink.nix | 2 | ||||
-rw-r--r-- | modules/common.nix | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/config/container.nix b/config/container.nix index 0c81251..eaf78c3 100644 --- a/config/container.nix +++ b/config/container.nix @@ -3,7 +3,7 @@ networking.firewall.allowedTCPPorts = [ 22 ]; services = { openssh.enable = lib.mkDefault true; - openssh.passwordAuthentication = false; + openssh.settings.PasswordAuthentication = false; }; system.activationScripts.installInitScript = '' ln -fs $systemConfig/init /init diff --git a/config/router.nix b/config/router.nix index aa6b5d9..cb2eeb2 100644 --- a/config/router.nix +++ b/config/router.nix @@ -188,7 +188,7 @@ in { services = { openssh.enable = lib.mkDefault true; - openssh.passwordAuthentication = false; + openssh.settings.PasswordAuthentication = false; }; boot.kernel.sysctl = { diff --git a/machines/dragon.nix b/machines/dragon.nix index a97199d..ca43995 100644 --- a/machines/dragon.nix +++ b/machines/dragon.nix @@ -98,7 +98,7 @@ in { security.pam.services.sshd.unixAuth = lib.mkForce true; services.openssh = { enable = lib.mkDefault true; - passwordAuthentication = false; + settings.PasswordAuthentication = false; extraConfig = '' Match User readonly PasswordAuthentication yes diff --git a/machines/firelink.nix b/machines/firelink.nix index ddea2f0..0583434 100644 --- a/machines/firelink.nix +++ b/machines/firelink.nix @@ -62,7 +62,7 @@ in { # services.xserver.displayManager.sddm.enable = true; services.xserver.displayManager.defaultSession = "plasmawayland"; services.xserver.displayManager.autoLogin = { - enable = true; + enable = false; user = "guest"; }; diff --git a/modules/common.nix b/modules/common.nix index 49a2379..2397b28 100644 --- a/modules/common.nix +++ b/modules/common.nix @@ -77,7 +77,7 @@ services = { postgresql = { package = pkgs.postgresql_12; }; - openssh.passwordAuthentication = false; + openssh.settings.PasswordAuthentication = false; openssh.kbdInteractiveAuthentication = false; fwupd.enable = true; }; |