diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2021-10-18 16:15:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-18 16:15:02 +0200 |
commit | 50171477bc2bd26e94ae3c558fcada804c4097e6 (patch) | |
tree | 6feb73c26e20a1b1d2eae4ebfb2c60469179f74d /nixos | |
parent | a9f158eebe8468b0f7131f6bbf41f81341ad473b (diff) | |
parent | 69c606bcc96c4480be8e996c70879e03d5866912 (diff) |
Merge pull request #139128 from HexF/patch-1
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/torrent/transmission.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 34a5219c95947..b8cfcf3912151 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 = [ |