From f8c06f985ec86ceed03b0196e86db38d3935ccb7 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Mon, 8 May 2023 02:08:28 +0200 Subject: [PATCH] common: update openssh setting API --- hosts/common.nix | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/hosts/common.nix b/hosts/common.nix index c092451..93008ef 100644 --- a/hosts/common.nix +++ b/hosts/common.nix @@ -226,11 +226,10 @@ in { resolved.enable = true; - openssh = { - # enable = true; - passwordAuthentication = false; - kbdInteractiveAuthentication = false; - permitRootLogin = "no"; + openssh.settings = { + PasswordAuthentication = false; + KbdInteractiveAuthentication = false; + PermitRootLogin = "no"; }; udev.packages = with pkgs; [