From d183d5e795fdf5e703978127f6a9148f678d6b47 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sun, 29 May 2022 20:06:11 +0200 Subject: l sync: permown -> acl --- lass/2configs/sync/sync.nix | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'lass/2configs/sync/sync.nix') diff --git a/lass/2configs/sync/sync.nix b/lass/2configs/sync/sync.nix index a0927c19..2714fa83 100644 --- a/lass/2configs/sync/sync.nix +++ b/lass/2configs/sync/sync.nix @@ -2,12 +2,7 @@ services.syncthing.folders."/home/lass/sync" = { devices = [ "mors" "icarus" "xerxes" "shodan" "green" "blue" "coaxmetal" ]; }; - krebs.permown."/home/lass/sync" = { - file-mode = "u+rw,g+rw"; - owner = "lass"; - group = "syncthing"; - umask = "0002"; - keepGoing = true; - }; + krebs.acl."/home/lass/sync"."u:syncthing:X".parents = true; + krebs.acl."/home/lass/sync"."u:syncthing:rwX" = {}; + krebs.acl."/home/lass/sync"."u:lass:rwX" = {}; } - -- cgit v1.2.3