summaryrefslogtreecommitdiffstats
path: root/lass/2configs/sync
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2020-04-08 12:33:08 +0200
committerlassulus <lassulus@lassul.us>2020-04-08 12:33:08 +0200
commit0578d851885e59b317d653982b7b74f10739b9f3 (patch)
tree2189e0f2495a67d30d46d38c1d496d228a461436 /lass/2configs/sync
parent0a9aa4bc575364ec7a4d477ea98325a8282fde56 (diff)
syncthing: use upstream module
Diffstat (limited to 'lass/2configs/sync')
-rw-r--r--lass/2configs/sync/decsync.nix4
-rw-r--r--lass/2configs/sync/weechat.nix2
2 files changed, 3 insertions, 3 deletions
diff --git a/lass/2configs/sync/decsync.nix b/lass/2configs/sync/decsync.nix
index c3f6511c2..9caefdd2d 100644
--- a/lass/2configs/sync/decsync.nix
+++ b/lass/2configs/sync/decsync.nix
@@ -1,7 +1,7 @@
{
- krebs.syncthing.folders.decsync = {
+ services.syncthing.declarative.folders.decsync = {
path = "/home/lass/decsync";
- peers = [ "mors" "blue" "green" "phone" ];
+ devices = [ "mors" "blue" "green" "phone" ];
};
krebs.permown."/home/lass/decsync" = {
owner = "lass";
diff --git a/lass/2configs/sync/weechat.nix b/lass/2configs/sync/weechat.nix
index 30c7b262b..ccbfc75a1 100644
--- a/lass/2configs/sync/weechat.nix
+++ b/lass/2configs/sync/weechat.nix
@@ -1,5 +1,5 @@
{
- krebs.syncthing.folders."/home/lass/.weechat".peers = [ "blue" "green" "mors" ];
+ services.syncthing.declarative.folders."/home/lass/.weechat".devices = [ "blue" "green" "mors" ];
krebs.permown."/home/lass/.weechat" = {
owner = "lass";
group = "syncthing";