about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro Jäckel <sandro.jaeckel@gmail.com>2023-06-30 17:13:31 +0200
committerSandro Jäckel <sandro.jaeckel@gmail.com>2023-06-30 18:14:16 +0200
commit9999996fd6f33c12f2f341dcdbac7a9c926d0a87 (patch)
tree8e9913b9f5d8093fed9c16004d6e14ba3014a713 /nixos
parentb1434f14da608b9e19f56fe9cad6ee0b0d81c1cf (diff)
nixos/sshd: fix example rendering
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ssh/sshd.nix10
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 = {