minor things

This commit is contained in:
Ingolf Wagner 2022-11-09 15:09:18 +01:00
parent ba7aa1f1a7
commit 21621b9cb2
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
3 changed files with 8 additions and 3 deletions

View file

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

View file

@ -54,4 +54,9 @@
owner = "palo";
group = "users";
};
system.permown."/home/palo/finance" = {
owner = "palo";
group = "syncthing";
};
}

View file

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