fix plausible

This commit is contained in:
Lucy Hochkamp 2023-09-28 19:45:54 +02:00
parent 6546b000a1
commit a54f25d863
No known key found for this signature in database
2 changed files with 16 additions and 1 deletions

View file

@ -17,6 +17,9 @@ in {
"GOOGLE_CLIENT_ID:${config.age.secrets.plausibleGoogleClientId.path}"
"GOOGLE_CLIENT_SECRET:${config.age.secrets.plausibleGoogleClientSecret.path}"
];
systemd.services.plausible.environment = {
IP_GEOLOCATION_DB = "${pkgs.unstable.dbip-country-lite}/share/dbip/dbip-country-lite.mmdb";
};
services.plausible = {
enable = true;
releaseCookiePath = config.age.secrets.plausibleSecretKeybase.path;