mirror of
https://github.com/kmein/niveum
synced 2026-03-19 19:41:08 +01:00
25 lines
490 B
Nix
25 lines
490 B
Nix
{ config, ... }:
|
|
let
|
|
port = 9090;
|
|
in
|
|
{
|
|
services.nginx.virtualHosts."ical-ephemeris.kmein.de" = {
|
|
forceSSL = true;
|
|
enableACME = true;
|
|
locations."/" = {
|
|
proxyPass = "http://localhost:${toString port}/";
|
|
};
|
|
};
|
|
|
|
services.ical-ephemeris = {
|
|
enable = true;
|
|
inherit port;
|
|
brevoApiKeyFile = config.age.secrets.brevo-key.path;
|
|
baseUrl = "https://ical-ephemeris.kmein.de";
|
|
};
|
|
|
|
age.secrets.brevo-key = {
|
|
file = ../../secrets/brevo-key.age;
|
|
};
|
|
}
|