mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-08 05:49:25 -06:00
32 lines
453 B
Nix
Executable file
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;
|
|
};
|
|
}
|