summaryrefslogtreecommitdiffstats
path: root/lass/2configs/sync/decsync.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2019-04-26 20:35:52 +0200
committermakefu <github@syntax-fehler.de>2019-04-26 20:35:52 +0200
commit2685464a60f32c75cf9198383ca10c3d6cf55572 (patch)
tree698bd32e2cc51be596771cc0e76ffd8521a64ff5 /lass/2configs/sync/decsync.nix
parent95f6a06c5acfb6054236ea2f5aee42975dd909ec (diff)
parentcd825d99342050bae35d5373e927ca999bae82cf (diff)
Merge branch 'master' of prism:stockholm
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 94569c94..c3f6511c 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";
+ };
}