mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-08-09 05:14:41 -05:00
feat: hledger test
This commit is contained in:
parent
c67e864d40
commit
c82dd5e36f
4 changed files with 95 additions and 0 deletions
34
config/instances/config/hledger.nix
Normal file
34
config/instances/config/hledger.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ instancesFunctions }:
|
||||
let
|
||||
inherit (instancesFunctions)
|
||||
domain0
|
||||
servicePath
|
||||
sslPath
|
||||
sopsPath
|
||||
;
|
||||
|
||||
hledgerLabel = "Hledger";
|
||||
hledgerName = "hledger";
|
||||
hledgerSubdomain = "source";
|
||||
in
|
||||
{
|
||||
label = hledgerLabel;
|
||||
name = hledgerName;
|
||||
email = {
|
||||
address0 = "noreply@${domain0}";
|
||||
};
|
||||
sops = {
|
||||
path0 = "${sopsPath}/${hledgerName}";
|
||||
};
|
||||
subdomain = hledgerSubdomain;
|
||||
paths = {
|
||||
path0 = "${servicePath}/${hledgerLabel}";
|
||||
};
|
||||
ports = {
|
||||
port0 = 5000;
|
||||
};
|
||||
ssl = {
|
||||
cert = "${sslPath}/${hledgerSubdomain}.${domain0}/fullchain.pem";
|
||||
key = "${sslPath}/${hledgerSubdomain}.${domain0}/key.pem";
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue