From 8cd6b0580c12d577aa235fafe0771732c34edb58 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sat, 17 Feb 2024 11:57:39 +0100 Subject: [PATCH] Fix warn --- modules/openssh.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/openssh.nix b/modules/openssh.nix index c27ae0a..4a7b159 100644 --- a/modules/openssh.nix +++ b/modules/openssh.nix @@ -3,12 +3,15 @@ { services.openssh = { enable = true; - passwordAuthentication = true; listenAddresses = [ { addr = "192.168.1.0/24"; port = "22"; } ]; + + settings { + PasswordAuthentication = true; + }; }; } \ No newline at end of file