users/ledger: move hledger to finance repo
This commit is contained in:
parent
12ba7db0d1
commit
65f6d334b3
2 changed files with 0 additions and 38 deletions
|
@ -11,7 +11,6 @@
|
|||
../modules/notifications
|
||||
../modules/file_manager
|
||||
../modules/mail
|
||||
../modules/ledger.nix
|
||||
../modules/pass.nix
|
||||
|
||||
../modules/git.nix
|
||||
|
|
|
@ -1,37 +0,0 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
bin = "${pkgs.hledger}/bin/hledger";
|
||||
sbin = "${bin} --strict";
|
||||
|
||||
hledgerAliases = {
|
||||
hle = bin;
|
||||
shle = sbin;
|
||||
};
|
||||
in
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
hledger
|
||||
hledger-ui
|
||||
hledger-interest
|
||||
];
|
||||
|
||||
home.file = {
|
||||
"finance/commodities.journal".text = ''
|
||||
; Fiat currencies
|
||||
commodity 1.000,00 RUB
|
||||
commodity 1.000,00 USD
|
||||
|
||||
; Investment commodities
|
||||
|
||||
; Cryptocurrencies
|
||||
|
||||
; Other
|
||||
|
||||
; Default commodity
|
||||
; D 1.000,00 RUB
|
||||
'';
|
||||
};
|
||||
|
||||
programs.zsh.shellAliases = lib.mkIf config.programs.zsh.enable hledgerAliases;
|
||||
}
|
Loading…
Reference in a new issue