1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-23 17:56:53 +03:00

nixos/sshd: fix example rendering

This commit is contained in:
Sandro Jäckel 2023-06-30 17:13:31 +02:00
parent b1434f14da
commit 9999996fd6
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5

View file

@ -279,10 +279,12 @@ in
settings = mkOption { settings = mkOption {
description = lib.mdDoc "Configuration for `sshd_config(5)`."; description = lib.mdDoc "Configuration for `sshd_config(5)`.";
default = { }; default = { };
example = literalExpression ''{ example = literalExpression ''
{
UseDns = true; UseDns = true;
PasswordAuthentication = false; PasswordAuthentication = false;
}''; }
'';
type = types.submodule ({name, ...}: { type = types.submodule ({name, ...}: {
freeformType = settingsFormat.type; freeformType = settingsFormat.type;
options = { options = {