Update plausible configuration to reference the correct secrets file
Some checks are pending
Weekly NixOS Build & Cache / build-and-cache (push) Has started running

This commit is contained in:
Danilo Reyes
2025-12-26 02:34:24 -06:00
parent 648a22252a
commit 5fbc4e1389

View File

@@ -10,7 +10,7 @@ in
{ {
options.my.servers.plausible = setup.mkOptions "plausible" "analytics" 8439; options.my.servers.plausible = setup.mkOptions "plausible" "analytics" 8439;
config = lib.mkIf (cfg.enable && config.my.secureHost) { config = lib.mkIf (cfg.enable && config.my.secureHost) {
sops.secrets.plausible.sopsFile = ../../secrets/keys.yaml; sops.secrets.plausible.sopsFile = ../../secrets/secrets.yaml;
services.plausible = { services.plausible = {
inherit (cfg) enable; inherit (cfg) enable;
database.postgres.socket = config.my.postgresSocket; database.postgres.socket = config.my.postgresSocket;