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;