From 98b475e4c888273228ec81f7285fccd1b1135fad Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Mon, 24 Feb 2025 18:10:57 -0600 Subject: [PATCH] updated permission on syncing mnt dir --- modules/nixos-modules/sync.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/nixos-modules/sync.nix b/modules/nixos-modules/sync.nix index 0df2a78..402d580 100644 --- a/modules/nixos-modules/sync.nix +++ b/modules/nixos-modules/sync.nix @@ -39,8 +39,8 @@ in { { systemd = lib.mkIf config.services.syncthing.enable { tmpfiles.rules = [ - "d ${mountDir} 755 syncthing syncthing -" - "d ${config.services.syncthing.dataDir} 755 syncthing syncthing -" + "d ${mountDir} 2755 syncthing syncthing -" + "d ${config.services.syncthing.dataDir} 775 syncthing syncthing -" "d ${config.services.syncthing.configDir} 755 syncthing syncthing -" ]; };