transmission: fix BindReadOnlyPaths=

This commit is contained in:
Julien Moutinho 2020-08-17 14:09:12 +02:00
parent 2a49db6a89
commit f6c3d4f723

View file

@ -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 != "")