dotfiles/modules/config/instances/config/caddy.nix
2025-06-26 21:20:09 -05:00

20 lines
294 B
Nix
Executable file

{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
sopsPath
;
caddyLabel = "Caddy";
caddyName = "caddy";
in
{
label = caddyLabel;
name = caddyName;
sops = {
path0 = "${sopsPath}/${caddyName}";
};
ports = {
port0 = 80;
port1 = 443;
};
}