mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-09 06:19:23 -06:00
43 lines
725 B
Nix
Executable file
43 lines
725 B
Nix
Executable file
{ moduleFunctions }:
|
|
let
|
|
inherit (moduleFunctions.instancesFunctions)
|
|
domain0
|
|
servicePath
|
|
sslPath
|
|
sopsPath
|
|
;
|
|
label = "Firefly-III";
|
|
name = "firefly-iii";
|
|
domain = "${subdomain}.${domain0}";
|
|
subdomain = "finances";
|
|
in
|
|
{
|
|
label = label;
|
|
name = name;
|
|
short = label;
|
|
email = {
|
|
address0 = "noreply@${domain}";
|
|
};
|
|
sops = {
|
|
path0 = "${sopsPath}/${name}";
|
|
};
|
|
domains = {
|
|
url0 = domain;
|
|
};
|
|
tags = [
|
|
"firefly-iii"
|
|
"finances"
|
|
"money"
|
|
];
|
|
subdomain = subdomain;
|
|
paths = {
|
|
path0 = "${servicePath}/${label}";
|
|
};
|
|
ports = {
|
|
port0 = 8080;
|
|
};
|
|
ssl = {
|
|
cert = "${sslPath}/${domain}/fullchain.pem";
|
|
key = "${sslPath}/${domain}/key.pem";
|
|
};
|
|
}
|