diff options
author | sils <sils@sils.li> | 2023-06-06 12:30:52 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-06-06 12:30:52 +0200 |
commit | 973a4613f93a882c60ae6567aff8cfb51140ae97 (patch) | |
tree | 827782a41f45207c259c369d69328868deafa89e /system/services | |
parent | Fix(system/mail): give certificateScheme string as value (diff) | |
download | nixos-server-973a4613f93a882c60ae6567aff8cfb51140ae97.tar.gz nixos-server-973a4613f93a882c60ae6567aff8cfb51140ae97.zip |
Fix(system/services/opensshd): Rename passwordAuthentication to
settings.PassowrdAuthentication
Diffstat (limited to 'system/services')
-rw-r--r-- | system/services/opensshd/default.nix | 8 |
1 files 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"; |