about summary refs log tree commit diff
path: root/nixos/modules/services/backup/syncoid.nix
diff options
context:
space:
mode:
authorSilvan Mosberger <contact@infinisil.com>2020-04-03 15:41:53 +0200
committerGitHub <noreply@github.com>2020-04-03 15:41:53 +0200
commiteb0148e90b3e35730dab3c668bf93e4cb5d8e633 (patch)
tree9000274ea9fa87d1bb725c78ac54d36de1315fbf /nixos/modules/services/backup/syncoid.nix
parentaa600362ad9e1f290e0d464505795455f30b76a4 (diff)
parent1d0fc9729dd8564dc75b5fd020da6bd61e0346c0 (diff)
downloadnixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.gz
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.bz2
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.lz
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.xz
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.tar.zst
nixlib-eb0148e90b3e35730dab3c668bf93e4cb5d8e633.zip
Merge pull request #84074 from Infinisil/fix-literal-option-examples
nixos/treewide: Fix incorrectly rendered examples
Diffstat (limited to 'nixos/modules/services/backup/syncoid.nix')
-rw-r--r--nixos/modules/services/backup/syncoid.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/nixos/modules/services/backup/syncoid.nix b/nixos/modules/services/backup/syncoid.nix
index 53787a0182af..fff119c2cf00 100644
--- a/nixos/modules/services/backup/syncoid.nix
+++ b/nixos/modules/services/backup/syncoid.nix
@@ -138,7 +138,11 @@ in {
           };
         }));
         default = {};
-        example."pool/test".target = "root@target:pool/test";
+        example = literalExample ''
+          {
+            "pool/test".target = "root@target:pool/test";
+          }
+        '';
         description = "Syncoid commands to run.";
       };
     };