mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 21:34:38 -05:00
38 lines
675 B
Nix
Executable file
38 lines
675 B
Nix
Executable file
{ moduleFunctions }:
|
|
let
|
|
inherit (moduleFunctions.instancesFunctions)
|
|
domain0
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
|
|
label = "Kanboard";
|
|
name = "kanboard";
|
|
subdomain = "todo";
|
|
domain = "${subdomain}.${domain0}";
|
|
in
|
|
{
|
|
label = label;
|
|
name = name;
|
|
email = {
|
|
address0 = "noreply@${name}.${domain0}";
|
|
};
|
|
sops = {
|
|
path0 = "${sopsPath}/${name}";
|
|
};
|
|
domains = {
|
|
url0 = domain;
|
|
};
|
|
subdomain = subdomain;
|
|
paths = {
|
|
path0 = "${servicePath}/${label}";
|
|
};
|
|
ports = {
|
|
port0 = 3128;
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${subdomain}.${domain0}/fullchain.pem";
|
|
key = "${sslPath}/${subdomain}.${domain0}/key.pem";
|
|
};
|
|
}
|