summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/matomo.nix
diff options
context:
space:
mode:
authorOlivier Marty <omarty@google.com>2020-10-14 23:25:54 +0200
committerNikolay Amiantov <ab@fmap.me>2022-02-16 22:21:44 +0300
commit7852ea15964f685bd73eaa7e11279668ec5c0d40 (patch)
treede2f6c57a17d7c3be19690542d72e0e4a970d251 /nixos/modules/services/web-apps/matomo.nix
parent04af4059cf7e2e14ac3bd217d30e5d8922ffef74 (diff)
downloadnixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar.gz
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar.bz2
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar.lz
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar.xz
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.tar.zst
nixpkgs-7852ea15964f685bd73eaa7e11279668ec5c0d40.zip
nixos/matomo: point path.geoip2 outside of the nix store.
path.geoip2 pointed to the nix store which is read-only. Matomo was
failing to download a geoip2 database. See #64759.
Diffstat (limited to 'nixos/modules/services/web-apps/matomo.nix')
-rw-r--r--nixos/modules/services/web-apps/matomo.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/modules/services/web-apps/matomo.nix b/nixos/modules/services/web-apps/matomo.nix
index 8a0ca33b51f..c6d4ed6d39d 100644
--- a/nixos/modules/services/web-apps/matomo.nix
+++ b/nixos/modules/services/web-apps/matomo.nix
@@ -192,6 +192,7 @@ in {
             # Copy config folder
             chmod g+s "${dataDir}"
             cp -r "${cfg.package}/share/config" "${dataDir}/"
+            mkdir -p "${dataDir}/misc"
             chmod -R u+rwX,g+rwX,o-rwx "${dataDir}"
 
             # check whether user setup has already been done