mirror of
https://github.com/kmein/niveum
synced 2026-03-29 16:51:07 +02:00
yta: download opus
This commit is contained in:
24
systems/ful/ical-ephemeris.nix
Normal file
24
systems/ful/ical-ephemeris.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
services.nginx.virtualHosts."ical-ephemeris.kmein.de" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:9090";
|
||||
};
|
||||
};
|
||||
|
||||
services.ical-ephemeris = {
|
||||
enable = true;
|
||||
port = 9090;
|
||||
brevoApiKeyFile = config.age.secrets.brevo-key.path;
|
||||
baseUrl = "https://ical-ephemeris.kmein.de";
|
||||
};
|
||||
|
||||
age.secrets.brevo-key = {
|
||||
file = ../../secrets/brevo-key.age;
|
||||
owner = "ical-ephemeris";
|
||||
group = "ical-ephemeris";
|
||||
mode = "0400";
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user