mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: hledger test
This commit is contained in:
parent
1da13e96b6
commit
b6e41d866a
3 changed files with 22 additions and 2 deletions
0
config/instances/config/hledger.nix
Normal file → Executable file
0
config/instances/config/hledger.nix
Normal file → Executable file
|
@ -64,6 +64,16 @@ in
|
||||||
];
|
];
|
||||||
keyword = instances.forgejo.label;
|
keyword = instances.forgejo.label;
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
name = instances.hledger.label;
|
||||||
|
url = "https://${instances.hledger.subdomain}.${instances.web.domains.url0}";
|
||||||
|
tags = [
|
||||||
|
instances.hledger.name
|
||||||
|
"hledger"
|
||||||
|
"finances"
|
||||||
|
];
|
||||||
|
keyword = instances.hledger.label;
|
||||||
|
}
|
||||||
{
|
{
|
||||||
name = "${instances.jellyfin.label} (Internet)";
|
name = "${instances.jellyfin.label} (Internet)";
|
||||||
url = "https://${instances.jellyfin.name}.${instances.web.domains.url0}";
|
url = "https://${instances.jellyfin.name}.${instances.web.domains.url0}";
|
||||||
|
@ -78,7 +88,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = instances.mastodon.label;
|
name = instances.mastodon.label;
|
||||||
url = "https://${instances.web.domains.url1}";
|
url = "https://${instances.mastodon.subdomain}.${instances.web.domains.url3}";
|
||||||
tags = [
|
tags = [
|
||||||
instances.mastodon.name
|
instances.mastodon.name
|
||||||
"mast"
|
"mast"
|
||||||
|
@ -143,7 +153,7 @@ in
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = instances.peertube.label;
|
name = instances.peertube.label;
|
||||||
url = "https://${instances.peertube.subdomain}.${instances.web.domains.url1}";
|
url = "https://${instances.peertube.subdomain}.${instances.web.domains.url3}";
|
||||||
tags = [
|
tags = [
|
||||||
instances.peertube.name
|
instances.peertube.name
|
||||||
"peer"
|
"peer"
|
||||||
|
|
10
nixos/modules/services/hledger.nix
Normal file → Executable file
10
nixos/modules/services/hledger.nix
Normal file → Executable file
|
@ -1,5 +1,6 @@
|
||||||
{
|
{
|
||||||
flake,
|
flake,
|
||||||
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
@ -40,6 +41,15 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
environment = {
|
||||||
|
# enableAllTerminfo = true;
|
||||||
|
systemPackages = builtins.attrValues {
|
||||||
|
inherit (pkgs)
|
||||||
|
hledger
|
||||||
|
;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/var/lib/${service.name}" = {
|
fileSystems."/var/lib/${service.name}" = {
|
||||||
device = service.paths.path0;
|
device = service.paths.path0;
|
||||||
fsType = "none";
|
fsType = "none";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue