From 83e2f6f3dad138840acf8a0580a59164e7da2fa4 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 16 Jan 2023 00:17:20 +0100 Subject: [PATCH] services.openssh: fix doc --- nixos/modules/services/networking/ssh/sshd.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index 3a8640171b70..2af585c4bab4 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -346,9 +346,10 @@ in settings = mkOption { - description = lib.mdDoc "Verbatim contents of {file}`sshd_config`."; + description = lib.mdDoc "Configuration for `sshd_config(5)`."; example = literalExpression ''{ - UseDns true; + UseDns = true; + PasswordAuthentication = false; }''; type = types.submodule ({name, ...}: { freeformType = settingsFormat.type;