mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-06-16 18:15:13 -05:00
feat: added hledger and restructured some home stuff
This commit is contained in:
parent
4db6929078
commit
f642608281
13 changed files with 23 additions and 4 deletions
11
home/modules/cli/fun/aniCli/default.nix
Executable file
11
home/modules/cli/fun/aniCli/default.nix
Executable file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
home.packages = builtins.attrValues {
|
||||
inherit (pkgs)
|
||||
ani-cli
|
||||
;
|
||||
};
|
||||
}
|
10
home/modules/cli/fun/default.nix
Executable file
10
home/modules/cli/fun/default.nix
Executable 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;
|
||||
}
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue