nixpkgs/nixos/modules/services/torrent
Jakub Sokołowski 3238beab0a nixos/transmission: fix from where service loads config
Currently if you specify home to be someplace else than ~/ for user
then Transmissions always attempts to load the config from the
default location which is $HOME/.config/transmission-daemon based on documentation:
https://github.com/transmission/transmission/wiki/Configuration-Files

Which means that the changes done to the config under settingsDir in
ExecPreStart have no effect because they are modifying a file that is never loaded.

I've added an explicit --config-dir ${settingsDir} to make sure
that Transmission loads the correct config file even when home is changed.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2019-12-31 15:21:29 +01:00
..
deluge.nix deluge service: fix my bad conflict resolution from f21211ebf 2019-09-08 08:42:53 +02:00
flexget.nix nixos/modules: Remove all usages of types.string 2019-08-31 18:19:00 +02:00
magnetico.nix nixos: add myself to maintainers 2019-12-04 17:09:53 +01:00
opentracker.nix
peerflix.nix
transmission.nix nixos/transmission: fix from where service loads config 2019-12-31 15:21:29 +01:00