summary refs log tree commit diff stats
diff options
context:
space:
mode:
Diffstat (limited to '')
-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";