From ea5bd3c672d10f8823739708e0bcf5ee0d07efad Mon Sep 17 00:00:00 2001 From: iFargle Date: Tue, 4 Jul 2023 15:40:32 +0900 Subject: [PATCH] rearrange settings --- services/openssh.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/services/openssh.nix b/services/openssh.nix index da57ffa2..b65cfa02 100644 --- a/services/openssh.nix +++ b/services/openssh.nix @@ -2,9 +2,11 @@ services.openssh = { enable = true; openFirewall = true; - logLevel = "VERBOSE"; # Used for fail2ban monitoring - settings.PermitRootLogin = "no"; - settings.PasswordAuthentication = true; # Set this to false when keys are configured + settings = { + LogLevel = "VERBOSE"; # Used for fail2ban monitoring + PermitRootLogin = "no"; + PasswordAuthentication = true; # Set this to false when keys are configured + }; banner = '' You are accessing a U.S. Government (USG) Information System (IS) that is provided for USG-authorized use only.