🚀 add ledger

nixos
Moritz Böhme 2022-06-07 14:42:05 +02:00
parent d2184a96bf
commit feebe86fe5
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
2 changed files with 15 additions and 1 deletions

View File

@ -59,8 +59,19 @@
latexwatch =
''find -type f -name "*.tex" | entr -c latexmk -pdf -silent'';
ledger = "command ledger --strict --explicit";
bal = "ledger -R bal";
balcash = "bal -X --current --flat ^assets:bank ^liabilities";
balnet = "bal -X --current --depth 2 ^assets ^liabilities";
bud = "ledger --budget bal ^expenses";
budr = ''ledger --budget --real reg -d "d>=[this month]" ^expenses'';
reg = "ledger reg -R --tail 15";
};
variables = {
EDITOR = editor;
LEDGER_FILE = "/home/moritz/Notes/ledger/main.ledger";
};
variables = { EDITOR = editor; };
};
home-manager.users.moritz = {
home.packages = with pkgs; [

View File

@ -81,6 +81,9 @@ in {
# :email
mu
isync
# :lang ledger
ledger
];
};
};