From 3161b2182a04b4ddf959913ffee0720c573d87f2 Mon Sep 17 00:00:00 2001 From: Daniel Kempkens Date: Sun, 22 Jan 2023 13:50:29 +0100 Subject: [PATCH] ssh: Adjust settings --- system/nixos/ssh.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/system/nixos/ssh.nix b/system/nixos/ssh.nix index 4d0973c..1a57857 100644 --- a/system/nixos/ssh.nix +++ b/system/nixos/ssh.nix @@ -1,7 +1,10 @@ { services.openssh = { enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; + + settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + }; }; }