summary refs log tree commit diff
path: root/nixos/modules/services/torrent
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-10-18 16:15:02 +0200
committerGitHub <noreply@github.com>2021-10-18 16:15:02 +0200
commit50171477bc2bd26e94ae3c558fcada804c4097e6 (patch)
tree6feb73c26e20a1b1d2eae4ebfb2c60469179f74d /nixos/modules/services/torrent
parenta9f158eebe8468b0f7131f6bbf41f81341ad473b (diff)
parent69c606bcc96c4480be8e996c70879e03d5866912 (diff)
downloadnixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar.gz
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar.bz2
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar.lz
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar.xz
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.tar.zst
nixpkgs-50171477bc2bd26e94ae3c558fcada804c4097e6.zip
Merge pull request #139128 from HexF/patch-1
Diffstat (limited to 'nixos/modules/services/torrent')
-rw-r--r--nixos/modules/services/torrent/transmission.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index 34a5219c959..b8cfcf39121 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -152,6 +152,8 @@ in
       install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.download-dir}'
       '' + optionalString cfg.settings.incomplete-dir-enabled ''
       install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.incomplete-dir}'
+      '' + optionalString cfg.settings.watch-dir-enabled ''
+      install -d -m '${cfg.downloadDirPermissions}' -o '${cfg.user}' -g '${cfg.group}' '${cfg.settings.watch-dir}'
       '';
 
     assertions = [