transmission: fix BindReadOnlyPaths=

wip/yesman
Julien Moutinho 4 years ago
parent 2a49db6a89
commit f6c3d4f723
  1. 4
      nixos/modules/services/torrent/transmission.nix

@ -225,9 +225,7 @@ in
# No confinement done of /nix/store here like in systemd-confinement.nix,
# an AppArmor profile is provided to get a confinement based upon paths and rights.
builtins.storeDir
"-/etc/hosts"
"-/etc/ld-nix.so.preload"
"-/etc/localtime"
"/etc"
] ++
optional (cfg.settings.script-torrent-done-enabled &&
cfg.settings.script-torrent-done-filename != "")

Loading…
Cancel
Save