From e0bc6db06ae97592eda50ba6e86614ea052b440a Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Tue, 18 Jun 2024 19:44:50 -0400 Subject: [PATCH] nixos/openssh: don't allow pasword authentication --- nixosModules/base/networking/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixosModules/base/networking/default.nix b/nixosModules/base/networking/default.nix index 587553fb..e1512b17 100644 --- a/nixosModules/base/networking/default.nix +++ b/nixosModules/base/networking/default.nix @@ -91,6 +91,7 @@ openssh = { enable = true; openFirewall = true; + settings.PasswordAuthentication = false; }; printing.enable = true;