mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
20 lines
294 B
Nix
Executable file
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;
|
|
};
|
|
}
|