minor things
This commit is contained in:
parent
ba7aa1f1a7
commit
21621b9cb2
3 changed files with 8 additions and 3 deletions
|
@ -40,7 +40,7 @@ let
|
|||
(source: target: ''
|
||||
if [[ "$TR_TORRENT_DIR" == "${source}" ]]
|
||||
then
|
||||
cp -lR "$TR_TORRENT_DIR/$TR_TORRENT_NAME" "${target}/$TR_TORRENT_NAME"
|
||||
cp -val "$TR_TORRENT_DIR/$TR_TORRENT_NAME" "${target}/$TR_TORRENT_NAME"
|
||||
fi
|
||||
'')
|
||||
copy_map);
|
||||
|
|
|
@ -54,4 +54,9 @@
|
|||
owner = "palo";
|
||||
group = "users";
|
||||
};
|
||||
|
||||
system.permown."/home/palo/finance" = {
|
||||
owner = "palo";
|
||||
group = "syncthing";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -107,13 +107,13 @@ let
|
|||
|
||||
bank = pkgs.writers.writeDashBin "bank" # sh
|
||||
''
|
||||
${pkgs.hledger-ui}/bin/hledger-ui --file ~/finance/hledger/all.journal
|
||||
${pkgs.hledger-ui}/bin/hledger-ui --color=never --file ~/finance/hledger/all.journal
|
||||
'';
|
||||
|
||||
bank-old = year:
|
||||
pkgs.writers.writeDashBin "bank-${year}" # sh
|
||||
''
|
||||
TERM=xterm-mono ${pkgs.hledger-ui}/bin/hledger-ui --file ~/finance/hledger/${year}.journal "$@"
|
||||
TERM=xterm-mono ${pkgs.hledger-ui}/bin/hledger-ui --color=never --file ~/finance/hledger/${year}.journal "$@"
|
||||
'';
|
||||
|
||||
irc = pkgs.writers.writeDashBin "irc" # sh
|
||||
|
|
Loading…
Reference in a new issue