1
0
mirror of https://github.com/kmein/niveum synced 2026-03-22 12:51:08 +01:00
Files
niveum/systems/ful/ical-ephemeris.nix

30 lines
633 B
Nix
Raw Normal View History

2025-10-06 13:10:40 +02:00
{ config, ... }:
let
port = 9090;
in
2025-10-06 12:29:29 +02:00
{
services.nginx.virtualHosts."ical-ephemeris.kmein.de" = {
2025-10-06 13:10:40 +02:00
forceSSL = true;
2025-10-06 12:29:29 +02:00
enableACME = true;
locations."/" = {
2025-10-06 13:10:40 +02:00
proxyPass = "http://localhost:${toString port}/";
2025-10-06 12:29:29 +02:00
};
};
services.ical-ephemeris = {
enable = true;
2025-10-06 13:10:40 +02:00
inherit port;
2025-10-06 12:29:29 +02:00
brevoApiKeyFile = config.age.secrets.brevo-key.path;
2025-12-04 16:19:34 +01:00
copecartIpnKeyFile = config.age.secrets.copecart-ipn.path;
2025-10-06 12:29:29 +02:00
baseUrl = "https://ical-ephemeris.kmein.de";
};
2025-12-04 16:19:34 +01:00
age.secrets.copecart-ipn = {
file = ../../secrets/copecart-ipn.age;
};
2025-10-06 12:29:29 +02:00
age.secrets.brevo-key = {
file = ../../secrets/brevo-key.age;
};
}