nixos/matomo: fixing the configuration path

This commit is contained in:
Marek Mahut 2019-08-27 11:44:34 +02:00
parent 6b978f9b67
commit 3a9d17ef04

View file

@ -176,7 +176,7 @@ in {
# Use User-Private Group scheme to protect Matomo data, but allow administration / backup via 'matomo' group
# Copy config folder
chmod g+s "${dataDir}"
cp -r "${cfg.package}/config" "${dataDir}/"
cp -r "${cfg.package}/share/config" "${dataDir}/"
chmod -R u+rwX,g+rwX,o-rwx "${dataDir}"
# check whether user setup has already been done