diff --git a/syncthing/H0615.nix b/syncthing/H0615.nix index de38c3cf..952ec93d 100644 --- a/syncthing/H0615.nix +++ b/syncthing/H0615.nix @@ -4,20 +4,20 @@ user = "elitherl"; group = "users"; dataDir = "/home/elitherl"; - settings = { + extraOptions = { options = { globalAnnounceEnabled = true; localAnnounceEnabled = true; }; - folders = { - Sync = { - path = "/home/elitherl/Sync"; - label = "UKAEA"; - id = "fwzht-j7hrc"; - devices = ["ion"]; - ignorePerms = true; - enable = true; - }; + }; + folders = { + Sync = { + path = "/home/elitherl/Sync"; + label = "UKAEA"; + id = "fwzht-j7hrc"; + devices = ["ion"]; + ignorePerms = true; + enable = true; }; }; }; diff --git a/syncthing/Vanguard.nix b/syncthing/Vanguard.nix index ca38a374..1618321e 100644 --- a/syncthing/Vanguard.nix +++ b/syncthing/Vanguard.nix @@ -4,7 +4,7 @@ user = "xenia"; group = "users"; dataDir = "/mnt/secondary/syncthing"; - settings.folders = { + folders = { "Archive" = { path = "/mnt/secondary/syncthing/archive"; devices = ["ion" "monarch" "northstar"]; diff --git a/syncthing/default.nix b/syncthing/default.nix index 71a75283..7fe8adf5 100644 --- a/syncthing/default.nix +++ b/syncthing/default.nix @@ -4,7 +4,7 @@ enable = true; systemService = true; openDefaultPorts = true; - settings = { + extraOptions = { options = { globalAnnounceEnabled = lib.mkDefault false; localAnnounceEnabled = lib.mkDefault true;