Merge pull request #210998 from teto/fix-sshd

services.openssh: fix doc
This commit is contained in:
Matthieu Coudron 2023-01-16 01:52:47 +01:00 committed by GitHub
commit 14905af025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -346,9 +346,11 @@ in
settings = mkOption {
description = lib.mdDoc "Verbatim contents of {file}`sshd_config`.";
description = lib.mdDoc "Configuration for `sshd_config(5)`.";
default = { };
example = literalExpression ''{
UseDns true;
UseDns = true;
PasswordAuthentication = false;
}'';
type = types.submodule ({name, ...}: {
freeformType = settingsFormat.type;