aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/networking/syncthing.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/networking/syncthing.nix')
-rw-r--r--nixpkgs/nixos/modules/services/networking/syncthing.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/nixpkgs/nixos/modules/services/networking/syncthing.nix b/nixpkgs/nixos/modules/services/networking/syncthing.nix
index 5b3eb6f04b4..e717d78feed 100644
--- a/nixpkgs/nixos/modules/services/networking/syncthing.nix
+++ b/nixpkgs/nixos/modules/services/networking/syncthing.nix
@@ -169,12 +169,14 @@ in {
description = ''
folders which should be shared by syncthing.
'';
- example = {
- "/home/user/sync" = {
- id = "syncme";
- devices = [ "bigbox" ];
- };
- };
+ example = literalExample ''
+ {
+ "/home/user/sync" = {
+ id = "syncme";
+ devices = [ "bigbox" ];
+ };
+ }
+ '';
type = types.attrsOf (types.submodule ({ name, ... }: {
options = {