diff options
author | lassulus <lassulus@lassul.us> | 2020-04-08 12:33:08 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2020-04-08 12:33:08 +0200 |
commit | 0578d851885e59b317d653982b7b74f10739b9f3 (patch) | |
tree | 2189e0f2495a67d30d46d38c1d496d228a461436 /lass/1systems | |
parent | 0a9aa4bc575364ec7a4d477ea98325a8282fde56 (diff) |
syncthing: use upstream module
Diffstat (limited to 'lass/1systems')
-rw-r--r-- | lass/1systems/mors/config.nix | 8 | ||||
-rw-r--r-- | lass/1systems/xerxes/config.nix | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lass/1systems/mors/config.nix b/lass/1systems/mors/config.nix index 03ff42132..fe0b6d85b 100644 --- a/lass/1systems/mors/config.nix +++ b/lass/1systems/mors/config.nix @@ -49,17 +49,17 @@ with import <stockholm/lib>; ]; } { - krebs.syncthing = { - peers.schasch.addresses = [ "schasch.r:22000" ]; + services.syncthing.declarative = { + devices.schasch.addresses = [ "schasch.r:22000" ]; folders = { the_playlist = { path = "/home/lass/tmp/the_playlist"; - peers = [ "mors" "phone" "prism" "xerxes" ]; + devices = [ "mors" "phone" "prism" "xerxes" ]; }; free_music = { id = "mu9mn-zgvsw"; path = "/home/lass/tmp/free_music"; - peers = [ "mors" "schasch" ]; + devices = [ "mors" "schasch" ]; }; }; }; diff --git a/lass/1systems/xerxes/config.nix b/lass/1systems/xerxes/config.nix index 8630d0f4b..e4a4fb505 100644 --- a/lass/1systems/xerxes/config.nix +++ b/lass/1systems/xerxes/config.nix @@ -41,11 +41,11 @@ displayManager.lightdm.autoLogin.user = "lass"; }; - krebs.syncthing = { + services.syncthing.declarative = { folders = { the_playlist = { path = "/home/lass/tmp/the_playlist"; - peers = [ "mors" "phone" "prism" "xerxes" ]; + devices = [ "mors" "phone" "prism" "xerxes" ]; }; }; }; |