summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-06-06 12:30:52 +0200
committersils <sils@sils.li>2023-06-06 12:30:52 +0200
commit973a4613f93a882c60ae6567aff8cfb51140ae97 (patch)
tree827782a41f45207c259c369d69328868deafa89e /system
parentFix(system/mail): give certificateScheme string as value (diff)
downloadnixos-server-973a4613f93a882c60ae6567aff8cfb51140ae97.tar.gz
nixos-server-973a4613f93a882c60ae6567aff8cfb51140ae97.zip
Fix(system/services/opensshd): Rename passwordAuthentication to
                               settings.PassowrdAuthentication
Diffstat (limited to 'system')
-rw-r--r--system/services/opensshd/default.nix8
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";