From f206d828e67c1e79fa5371ffcaae7b854f1c6512 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20B=C3=B6hme?= Date: Wed, 23 Mar 2022 12:35:53 +0100 Subject: [PATCH] :bug: fix ssh passwordAuthentication being enabled --- modules/security.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/security.nix b/modules/security.nix index 750923b..7fa762a 100644 --- a/modules/security.nix +++ b/modules/security.nix @@ -78,5 +78,5 @@ security.sudo.enable = lib.mkDefault (!config.security.doas.enable); # Disable ssh password login - services.openssh.passwordAuthentication = config.services.openssh.enable; + services.openssh.passwordAuthentication = lib.mkDefault false; }