summaryrefslogtreecommitdiffstats
path: root/lass/2configs/sync
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-01-23 18:20:52 +0100
committerlassulus <lassulus@lassul.us>2021-01-23 18:20:52 +0100
commit9e4d47c5b46a92436d8e71c17a61ab729d4c4133 (patch)
treeba71159c6581efed51e00c908bf58ff7f6c2c8d8 /lass/2configs/sync
parent0b5b4b8eab751d0d1d32573c6f69d08a82b4af1e (diff)
l: don't always sync basedir
Diffstat (limited to 'lass/2configs/sync')
-rw-r--r--lass/2configs/sync/sync.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/lass/2configs/sync/sync.nix b/lass/2configs/sync/sync.nix
new file mode 100644
index 000000000..bee1d03ac
--- /dev/null
+++ b/lass/2configs/sync/sync.nix
@@ -0,0 +1,13 @@
+{
+ services.syncthing.declarative.folders."/home/lass/sync" = {
+ devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" ];
+ };
+ krebs.permown."/home/lass/sync" = {
+ file-mode = "u+rw,g+rw";
+ owner = "lass";
+ group = "syncthing";
+ umask = "0002";
+ keepGoing = true;
+ };
+}
+