feat: hledger test

This commit is contained in:
Nick 2025-01-22 00:54:45 -06:00
parent d145245648
commit 77f1db64d2
6 changed files with 3 additions and 50 deletions

View file

@ -1,34 +1,14 @@
{ instancesFunctions }:
let
inherit (instancesFunctions)
domain0
servicePath
sslPath
sopsPath
;
hledgerLabel = "Hledger";
hledgerName = "hledger";
hledgerSubdomain = "finances";
in
{
label = hledgerLabel;
name = hledgerName;
email = {
address0 = "noreply@${domain0}";
};
sops = {
path0 = "${sopsPath}/${hledgerName}";
};
subdomain = hledgerSubdomain;
paths = {
path0 = "${servicePath}/${hledgerLabel}";
path0 = "/mnt/media/storage/${hledgerLabel}";
};
ports = {
port0 = 5000;
};
ssl = {
cert = "${sslPath}/${hledgerSubdomain}.${domain0}/fullchain.pem";
key = "${sslPath}/${hledgerSubdomain}.${domain0}/key.pem";
};
}