Skip to content

Commit

Permalink
webfortune: add goatcounter
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <me@sumnerevans.com>
  • Loading branch information
sumnerevans committed Feb 23, 2024
1 parent 3a87c25 commit 3f4f574
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions host-configurations/morak.nix
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ in {
services.isso.enable = true;
services.logrotate.enable = true;
services.nginx.enable = true;
services.postgresql.enable = true;
services.syncthing.enable = true;
services.vaultwarden.enable = true;
services.xandikos.enable = true;
Expand Down
1 change: 0 additions & 1 deletion modules/services/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,4 @@

# Enable Redis and PostgreSQL
services.redis.servers."".enable = true;
services.postgresql.enable = true;
}
1 change: 1 addition & 0 deletions modules/services/webfortune.nix
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ in {
QUOTESFILE_SOURCE_URL = cfg.sourceUrl;
LISTEN_ADDR = cfg.listenAddr;
PLAUSIBLE_DOMAIN = cfg.virtualHost;
GOATCOUNTER_DOMAIN = "https://fortune.goatcounter.com/count";
HOST_ROOT = "https://${cfg.virtualHost}";
};
serviceConfig = {
Expand Down

0 comments on commit 3f4f574

Please sign in to comment.