users/ledger: move hledger to finance repo

This commit is contained in:
Dmitriy Pleshevskiy 2022-11-27 23:28:12 +03:00
parent 12ba7db0d1
commit 65f6d334b3
Signed by: pleshevskiy
GPG key ID: 1B59187B161C0215
2 changed files with 0 additions and 38 deletions

View file

@ -11,7 +11,6 @@
../modules/notifications ../modules/notifications
../modules/file_manager ../modules/file_manager
../modules/mail ../modules/mail
../modules/ledger.nix
../modules/pass.nix ../modules/pass.nix
../modules/git.nix ../modules/git.nix

View file

@ -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;
}