dotfiles/modules/config/instances/config/projectSite.nix
2025-10-01 19:51:55 -05:00

32 lines
453 B
Nix
Executable file

{ moduleFunctions }:
let
inherit (moduleFunctions.instancesFunctions)
domain3
sslPath
sopsPath
;
label = "projectSite";
name = "projectsite";
in
{
label = label;
name = name;
short = "Project";
sops = {
path0 = "${sopsPath}/${name}";
};
tags = [
"project"
];
paths = {
path0 = "/var/lib/projectsite/dist";
};
ports = {
port0 = 1334;
};
ssl = {
cert = sslPath;
key = sslPath;
};
}