From 973a4613f93a882c60ae6567aff8cfb51140ae97 Mon Sep 17 00:00:00 2001 From: sils Date: Tue, 6 Jun 2023 12:30:52 +0200 Subject: Fix(system/services/opensshd): Rename passwordAuthentication to settings.PassowrdAuthentication --- system/services/opensshd/default.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/system/services/opensshd/default.nix b/system/services/opensshd/default.nix index 75c5aef..1bb37ee 100644 --- a/system/services/opensshd/default.nix +++ b/system/services/opensshd/default.nix @@ -1,11 +1,7 @@ -{ - config, - pkg, - ... -}: { +{...}: { services.openssh = { enable = true; - passwordAuthentication = false; + settings.PasswordAuthentication = false; hostKeys = [ { path = "/srv/sshd/ssh_host_ed25519_key"; -- cgit 1.4.1