From 2ed4b71940875f7e9dec29cd68ecfa12e52b360e Mon Sep 17 00:00:00 2001 From: schweby Date: Wed, 27 Jan 2021 12:23:08 +0100 Subject: [PATCH] hainich/syncthing: fixed indentation --- hosts/hainich/services/syncthing.nix | 48 ++++++++++++++-------------- 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/hosts/hainich/services/syncthing.nix b/hosts/hainich/services/syncthing.nix index 72382e9..9d5fc6a 100644 --- a/hosts/hainich/services/syncthing.nix +++ b/hosts/hainich/services/syncthing.nix @@ -1,30 +1,30 @@ { config, lib, pkgs, ... }: { - services.syncthing = { - enable = true; - relay.enable = false; - openDefaultPorts = true; - declarative = { - devices = { - txsbcct = { - addresses = []; # empty = dynamic - id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC"; - }; - }; + services.syncthing = { + enable = true; + relay.enable = false; + openDefaultPorts = true; + declarative = { + devices = { + txsbcct = { + addresses = []; # empty = dynamic + id = "A6SRBZL-CP627PX-4QA55B7-QKJXOMO-UJDXQIV-77OK57V-RXO3CUQ-JIHX7AC"; + }; + }; - folders = { - "/var/lib/syncthing/hacc" = { - id = "qt2ly-xvvvs"; - devices = [ "txsbcct" ]; - type = "receiveonly"; - versioning = { - type = "simple"; - params.keep = "10"; - }; - }; - }; + folders = { + "/var/lib/syncthing/hacc" = { + id = "qt2ly-xvvvs"; + devices = [ "txsbcct" ]; + type = "receiveonly"; + versioning = { + type = "simple"; + params.keep = "10"; + }; + }; + }; - }; + }; - }; + }; }