Skip to content

Commit f6c3d4f

Browse files
committed
transmission: fix BindReadOnlyPaths=
1 parent 2a49db6 commit f6c3d4f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

nixos/modules/services/torrent/transmission.nix

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,9 +225,7 @@ in
225225
# No confinement done of /nix/store here like in systemd-confinement.nix,
226226
# an AppArmor profile is provided to get a confinement based upon paths and rights.
227227
builtins.storeDir
228-
"-/etc/hosts"
229-
"-/etc/ld-nix.so.preload"
230-
"-/etc/localtime"
228+
"/etc"
231229
] ++
232230
optional (cfg.settings.script-torrent-done-enabled &&
233231
cfg.settings.script-torrent-done-filename != "")

0 commit comments

Comments
 (0)