diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2020-08-17 19:52:27 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 19:52:27 +0100 |
commit | 914d37cbc9be99f884447bfb48c73be1b9f5ea55 (patch) | |
tree | 1f168a3c3aade33e0f0b8a417605da8a721191fd /nixos | |
parent | a0a80cc8f8882d2ca76a6319cdf6d8ec7d2a7319 (diff) | |
parent | f6c3d4f723d9c8f1809308ec91ff2f63f6475b29 (diff) |
Merge pull request #95686 from ju1m/transmission-fix
transmission: fix BindReadOnlyPaths=
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/services/torrent/transmission.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/services/torrent/transmission.nix b/nixos/modules/services/torrent/transmission.nix index 92df46083ecca..6041a1b182d7f 100644 --- a/nixos/modules/services/torrent/transmission.nix +++ b/nixos/modules/services/torrent/transmission.nix @@ -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 != "") |