From 20558ccfbc5041128834af04e3bf0c44c637ce99 Mon Sep 17 00:00:00 2001 From: Martin Fischer Date: Sat, 28 Dec 2024 11:39:06 +0100 Subject: fix(server): disable PasswordAuthentication for openssh --- nixos/profiles/server/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/profiles/server/default.nix b/nixos/profiles/server/default.nix index 4ccef67..ac24e20 100644 --- a/nixos/profiles/server/default.nix +++ b/nixos/profiles/server/default.nix @@ -8,6 +8,9 @@ services = { openssh = { enable = true; + settings = { + PasswordAuthentication = false; + }; }; }; } -- cgit v1.2.3