summary refs log tree commit diff
path: root/nixos/modules/services/torrent/transmission.nix
diff options
context:
space:
mode:
authorJulien Moutinho <julm+nixpkgs@sourcephile.fr>2021-08-28 14:11:01 +0200
committerJulien Moutinho <julm+nixpkgs@sourcephile.fr>2021-10-18 19:35:46 +0200
commitaaf21b96368c1008ac633ebfce89acfe50ecb760 (patch)
treee9c33255acd40d69b826296fab4d9735b3dab352 /nixos/modules/services/torrent/transmission.nix
parentf8d394670821c9d0a443a8bc06c3d3098d8da42b (diff)
downloadnixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar.gz
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar.bz2
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar.lz
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar.xz
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.tar.zst
nixpkgs-aaf21b96368c1008ac633ebfce89acfe50ecb760.zip
nixos/transmission: remove InaccessiblePaths= to enable reload, fixes #135695
Diffstat (limited to 'nixos/modules/services/torrent/transmission.nix')
-rw-r--r--nixos/modules/services/torrent/transmission.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix
index 301cb2647b5..61e8cfe44f6 100644
--- a/nixos/modules/services/torrent/transmission.nix
+++ b/nixos/modules/services/torrent/transmission.nix
@@ -269,8 +269,6 @@ in
         # Create rootDir in the host's mount namespace.
         RuntimeDirectory = [(baseNameOf rootDir)];
         RuntimeDirectoryMode = "755";
-        # Avoid mounting rootDir in the own rootDir of ExecStart='s mount namespace.
-        InaccessiblePaths = ["-+${rootDir}"];
         # This is for BindPaths= and BindReadOnlyPaths=
         # to allow traversal of directories they create in RootDirectory=.
         UMask = "0066";