summaryrefslogtreecommitdiff
path: root/Biz.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bensima.com>2025-12-17 22:30:10 -0500
committerBen Sima <ben@bensima.com>2025-12-17 22:30:10 -0500
commitb70fc85ab91eda55a8ac34c54a2c869e3225b863 (patch)
treec85b113876b910b1a0360d3dcaa91d4f83e2186e /Biz.nix
parente2ea8308d74582d5651ed933dea9428ce8982d25 (diff)
feat: add goatcounter analytics to PodcastItLater
- Add goatcounter NixOS service to Biz.nix (SQLite backend, port 8081) - Add tracking script to UI.py PageLayout component - Configure for proxy mode (behind Caddy)
Diffstat (limited to 'Biz.nix')
-rwxr-xr-xBiz.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/Biz.nix b/Biz.nix
index 676fac8..ab79c1b 100755
--- a/Biz.nix
+++ b/Biz.nix
@@ -36,4 +36,12 @@ bild.os {
package = packages.biz-deployer;
manifestPackage = packages.deploy-manifest;
};
+
+ # GoatCounter analytics - SQLite backend
+ services.goatcounter = {
+ enable = true;
+ address = "127.0.0.1";
+ port = 8081;
+ proxy = true; # Running behind Caddy reverse proxy
+ };
}