added ACL to syncthing mnt folder

This commit is contained in:
Leyla Becker 2025-08-01 18:30:28 -05:00
parent 7b3d4bc021
commit 5658a39249

View file

@ -11,6 +11,7 @@ in {
{
systemd = lib.mkIf config.services.syncthing.enable {
tmpfiles.rules = [
"A ${mountDir} - - - - u:syncthing:rwX,g:syncthing:rwX,o::-"
"d ${mountDir} 2755 syncthing syncthing -"
"d ${config.services.syncthing.dataDir} 775 syncthing syncthing -"
"d ${config.services.syncthing.configDir} 755 syncthing syncthing -"