Skip to content

Commit

Permalink
Add ledger module
Browse files Browse the repository at this point in the history
  • Loading branch information
hyshka committed Nov 27, 2024
1 parent d23e81a commit 1c46184
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
4 changes: 0 additions & 4 deletions home/cli/zsh.nix
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,5 @@
t = "tmux";
tpw = "tmuxp load ~/.config/tmuxp/dashboard.yml";
};
sessionVariables = {
# TODO move to ledger module
LEDGER_FILE = "~/finance/2023/2023.journal";
};
};
}
1 change: 1 addition & 0 deletions home/hyshka/ashyn.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
./global
./features/alacritty.nix
./features/plasma.nix
./features/ledger.nix

# TODO
../nixvim
Expand Down
24 changes: 24 additions & 0 deletions home/hyshka/features/ledger.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
#config,
pkgs,
...
}: let
#inherit (config.home) homeDirectory;
#ledgerDir = "${homeDirectory}/Documents/ledger";
in {
home.packages = with pkgs;
with haskellPackages; [
# https://hledger.org/
hledger_1_40
hledger-ui_1_40
# https://github.com/apauley/hledger-flow
# TODO
#hledger-flow
# https://github.com/siddhantac/puffin
puffin
];

# TODO
#home.sessionVariables."LEDGER_FILE" = "~/finance/2023/2023.journal";
#home.sessionVariables."LEDGER_FILE" = ledgerDir;
}
1 change: 1 addition & 0 deletions home/hyshka/starship.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
./features/alacritty.nix
./features/plasma.nix
./features/zwift.nix
./features/ledger.nix

# TODO
../nixvim
Expand Down

0 comments on commit 1c46184

Please sign in to comment.