hledger: init

This commit is contained in:
2026-07-21 11:38:27 +02:00
parent 2d0c655658
commit 8268324958
3 changed files with 24 additions and 0 deletions
+2
View File
@@ -30,6 +30,8 @@
games games
hardware-configuration-desktop hardware-configuration-desktop
hdd hdd
hledger
hledger-desktop
hyprland hyprland
IO IO
kdrive-desktop # we will setup this later kdrive-desktop # we will setup this later
+2
View File
@@ -31,6 +31,8 @@
gitBackup gitBackup
hardware-configuration-laptop hardware-configuration-laptop
hardwareUtils-laptop hardwareUtils-laptop
hledger
hledger-laptop
hyprland hyprland
IO IO
kdrive-laptop kdrive-laptop
+20
View File
@@ -0,0 +1,20 @@
_: {
flake.nixosModules.hledger = {pkgs, ...}: {
environment.systemPackages = with pkgs; [
hledger
hledger-ui
hledger-web
asciinema # used for some hledger demos
];
};
flake.nixosModules.hledger-laptop = _: {
environment.variables = {
LEDGER_FILE = "/home/tomasr/kdrive/Budget/hledger.journal";
};
};
flake.nixosModules.hledger-desktop = _: {
environment.variables = {
LEDGER_FILE = "/home/tomasr/hdd/kdrive/Budget/hledger.journal";
};
};
}