the unfuckening

This commit is contained in:
Lucy Hochkamp 2024-03-17 10:20:54 +01:00
parent 443f53cf8f
commit d1ab22a870
No known key found for this signature in database
7 changed files with 105 additions and 188 deletions

View file

@ -7,12 +7,6 @@ in {
ragon.agenix.secrets."plausibleGoogleClientId" = { };
ragon.agenix.secrets."plausibleGoogleClientSecret" = { };
ragon.agenix.secrets."smtpPassword" = { };
services.nginx.virtualHosts.${domain} = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass =
"http://127.0.0.1:${toString config.services.plausible.server.port}";
};
systemd.services.plausible.serviceConfig.LoadCredential = [
"GOOGLE_CLIENT_ID:${config.age.secrets.plausibleGoogleClientId.path}"
"GOOGLE_CLIENT_SECRET:${config.age.secrets.plausibleGoogleClientSecret.path}"