diff options
author | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-30 17:13:31 +0200 |
---|---|---|
committer | Sandro Jäckel <sandro.jaeckel@gmail.com> | 2023-06-30 18:14:16 +0200 |
commit | 9999996fd6f33c12f2f341dcdbac7a9c926d0a87 (patch) | |
tree | 8e9913b9f5d8093fed9c16004d6e14ba3014a713 /nixos | |
parent | b1434f14da608b9e19f56fe9cad6ee0b0d81c1cf (diff) |
nixos/sshd: fix example rendering
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/networking/ssh/sshd.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index fb9774bafdeba..e75239e059d3b 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -279,10 +279,12 @@ in settings = mkOption { description = lib.mdDoc "Configuration for `sshd_config(5)`."; default = { }; - example = literalExpression ''{ - UseDns = true; - PasswordAuthentication = false; - }''; + example = literalExpression '' + { + UseDns = true; + PasswordAuthentication = false; + } + ''; type = types.submodule ({name, ...}: { freeformType = settingsFormat.type; options = { |