dots/modules/templates/web-feature.nix
2025-10-22 01:22:05 +11:00

18 lines
299 B
Nix

let
port = "port";
in
{
services = {
feature = {
enable = true;
};
borgbackup.jobs = feature { };
nginx.virtualHosts."feature.fi33.buzz" = {
forceSSL = true;
useACMEHost = "fi33.buzz";
locations."/".proxyPass = "http://localhost:${port}";
};
};
}