feat: added hledger and restructured some home stuff

This commit is contained in:
Nick 2025-01-22 02:13:08 -06:00
parent 4db6929078
commit f642608281
13 changed files with 23 additions and 4 deletions

View file

@ -0,0 +1,11 @@
{
pkgs,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
ani-cli
;
};
}

View file

@ -0,0 +1,10 @@
let
content = builtins.readDir ./.;
dirContent = builtins.filter (n: content.${n} == "directory") (builtins.attrNames content);
importList = map (name: ./. + "/${name}") dirContent;
in
{
imports = importList;
}

View file

@ -66,7 +66,7 @@ in
}
{
name = instances.hledger.label;
url = "http://localhost.${builtins.toString instances.ports.port0}";
url = "http://localhost.${builtins.toString instances.hledger.ports.port0}";
tags = [
instances.hledger.name
"hledger"