diff --git a/nixos/machines/robi/transmission2.nix b/nixos/machines/robi/transmission2.nix index 563ea89..5d8eca4 100644 --- a/nixos/machines/robi/transmission2.nix +++ b/nixos/machines/robi/transmission2.nix @@ -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); diff --git a/nixos/machines/sterni/syncthing.nix b/nixos/machines/sterni/syncthing.nix index b51d118..2a4c183 100644 --- a/nixos/machines/sterni/syncthing.nix +++ b/nixos/machines/sterni/syncthing.nix @@ -54,4 +54,9 @@ owner = "palo"; group = "users"; }; + + system.permown."/home/palo/finance" = { + owner = "palo"; + group = "syncthing"; + }; } diff --git a/nixos/system/desktop/packages.nix b/nixos/system/desktop/packages.nix index c1a58d8..e042cc6 100644 --- a/nixos/system/desktop/packages.nix +++ b/nixos/system/desktop/packages.nix @@ -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