mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-10 13:54:38 -05:00
27 lines
483 B
Nix
Executable file
27 lines
483 B
Nix
Executable file
{ instancesFunctions }:
|
|
let
|
|
inherit (instancesFunctions)
|
|
domain3
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
postfixLabel = "Postfix";
|
|
postfixName = "postfix";
|
|
in
|
|
{
|
|
label = postfixLabel;
|
|
name = postfixName;
|
|
sops = {
|
|
path0 = "${sopsPath}/${postfixName}";
|
|
};
|
|
subdomain = postfixName;
|
|
paths = {
|
|
path0 = "${servicePath}/${postfixLabel}";
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${domain3}/fullchain.pem";
|
|
key = "${sslPath}/${domain3}/key.pem";
|
|
};
|
|
}
|