transmission: fix BindReadOnlyPaths=
This commit is contained in:
@@ -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 != "")
|
||||||
|
|||||||
Reference in New Issue
Block a user