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/mors | |
parent | 0a9aa4bc575364ec7a4d477ea98325a8282fde56 (diff) |
syncthing: use upstream module
Diffstat (limited to 'lass/1systems/mors')
-rw-r--r-- | lass/1systems/mors/config.nix | 8 |
1 files changed, 4 insertions, 4 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" ]; }; }; }; |