Merge pull request #95686 from ju1m/transmission-fix

transmission: fix BindReadOnlyPaths=
This commit is contained in:
Jörg Thalheim
2020-08-17 19:52:27 +01:00
committed by GitHub

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