transmission: fix BindReadOnlyPaths=
This commit is contained in:
parent
2a49db6a89
commit
f6c3d4f723
|
@ -225,9 +225,7 @@ in
|
||||||
# No confinement done of /nix/store here like in systemd-confinement.nix,
|
# 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.
|
# an AppArmor profile is provided to get a confinement based upon paths and rights.
|
||||||
builtins.storeDir
|
builtins.storeDir
|
||||||
"-/etc/hosts"
|
"/etc"
|
||||||
"-/etc/ld-nix.so.preload"
|
|
||||||
"-/etc/localtime"
|
|
||||||
] ++
|
] ++
|
||||||
optional (cfg.settings.script-torrent-done-enabled &&
|
optional (cfg.settings.script-torrent-done-enabled &&
|
||||||
cfg.settings.script-torrent-done-filename != "")
|
cfg.settings.script-torrent-done-filename != "")
|
||||||
|
|
Loading…
Reference in a new issue