From c5567687762a0faf9c928cf890dd70d299bda8f6 Mon Sep 17 00:00:00 2001 From: Alex Gorichev Date: Mon, 6 Jan 2025 11:00:59 +0000 Subject: [PATCH] nixos/fail2ban: Update openssh option in docs The ``` services.openssh.logLevel ``` option has been changed to ``` services.openssh.settings.LogLevel ``` since cf10d7aef8ff9ca0e178e87981d9e4fd3018193c and this service is already using the new option (on line 462) but the description just hasn't been updated. The `option` formatting as also been updated by the suggestion of @Defelo --- nixos/modules/services/security/fail2ban.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/security/fail2ban.nix b/nixos/modules/services/security/fail2ban.nix index 83a65111756b..dffb246dd1d5 100644 --- a/nixos/modules/services/security/fail2ban.nix +++ b/nixos/modules/services/security/fail2ban.nix @@ -91,7 +91,7 @@ in description = '' Whether to enable the fail2ban service. - See the documentation of {option}`services.fail2ban.jails` + See the documentation of [](#opt-services.fail2ban.jails) for what jails are enabled by default. ''; }; @@ -326,7 +326,7 @@ in NixOS comes with a default `sshd` jail; for it to work well, - {option}`services.openssh.logLevel` should be set to + [](#opt-services.openssh.settings.LogLevel) should be set to `"VERBOSE"` or higher so that fail2ban can observe failed login attempts. This module sets it to `"VERBOSE"` if