From 43effbbc59d177f152f83a2cd0d4183b0e201e9b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Fri, 30 Oct 2020 19:03:42 -0700 Subject: nixos/transmission: point at the settings dir in cfg.home. Without this, transmission starts with an empty config when using a custom home location. Signed-off-by: David Anderson --- nixos/modules/services/torrent/transmission.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nixos/modules/services/torrent/transmission.nix') diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 014a22bb5a8..aeb58a7194f 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -197,7 +197,7 @@ in install -D -m 600 -o '${cfg.user}' -g '${cfg.group}' /dev/stdin \ '${cfg.home}/${settingsDir}/settings.json' '')]; - ExecStart="${pkgs.transmission}/bin/transmission-daemon -f"; + ExecStart="${pkgs.transmission}/bin/transmission-daemon -f -g ${cfg.home}/${settingsDir}"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; User = cfg.user; Group = cfg.group; -- cgit 1.4.1