summaryrefslogtreecommitdiffstats
path: root/lass/2configs/sync/decsync.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2019-04-19 16:39:05 +0200
committertv <tv@krebsco.de>2019-04-19 16:39:05 +0200
commitd825d2db8796a0d19f22eba240a2e49213cf01e2 (patch)
treeb7104f1b790ae0446fd44b1aad4c22f1c425af6d /lass/2configs/sync/decsync.nix
parent5fbe320b9173b1ef0725a79548f34f967ad16130 (diff)
parent6c719f03c1a5533b43957d3039b4aed5f5bd8b42 (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'lass/2configs/sync/decsync.nix')
-rw-r--r--lass/2configs/sync/decsync.nix15
1 files changed, 9 insertions, 6 deletions
diff --git a/lass/2configs/sync/decsync.nix b/lass/2configs/sync/decsync.nix
index 94569c94d..c3f6511c2 100644
--- a/lass/2configs/sync/decsync.nix
+++ b/lass/2configs/sync/decsync.nix
@@ -1,8 +1,11 @@
{
- krebs.syncthing.folders = [
- { id = "decsync"; path = "/home/lass/decsync"; peers = [ "mors" "blue" "green" "phone" ]; }
- ];
- lass.ensure-permissions = [
- { folder = "/home/lass/decsync"; owner = "lass"; group = "syncthing"; }
- ];
+ krebs.syncthing.folders.decsync = {
+ path = "/home/lass/decsync";
+ peers = [ "mors" "blue" "green" "phone" ];
+ };
+ krebs.permown."/home/lass/decsync" = {
+ owner = "lass";
+ group = "syncthing";
+ umask = "0007";
+ };
}