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 /config | |
parent | 40f2049fa58e5f597bcf61cbf9a0345305df8491 (diff) |
Updates
Diffstat (limited to 'config')
-rw-r--r-- | config/container.nix | 2 | ||||
-rw-r--r-- | config/router.nix | 2 |
2 files changed, 2 insertions, 2 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 = { |