immich: bind-as-group

This commit is contained in:
Motiejus Jakštys 2024-09-29 23:41:17 +03:00
parent daa5448b50
commit ec33acb2e6

View File

@ -22,7 +22,7 @@ let
${lib.concatMapStringsSep "\n" ${lib.concatMapStringsSep "\n"
(name: '' (name: ''
mkdir /data/${name} mkdir /data/${name}
bindfs -u ${immich-user} /var/run/immich/bind-paths/${name} /data/${name}'') bindfs -u ${immich-user} -g ${immich-group} /var/run/immich/bind-paths/${name} /data/${name}'')
(lib.attrNames cfg.bindPaths) (lib.attrNames cfg.bindPaths)
} }
exec setpriv \ exec setpriv \