dotfiles/modules/config/instances/config/firefly-iii.nix
2025-10-20 19:37:05 -05:00

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";
};
}