diff options
author | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2020-08-17 14:09:12 +0200 |
---|---|---|
committer | Julien Moutinho <julm+nixpkgs@sourcephile.fr> | 2020-08-17 14:09:12 +0200 |
commit | f6c3d4f723d9c8f1809308ec91ff2f63f6475b29 (patch) | |
tree | 26526015b240ac3a839e6110df756d2a024e6b57 /nixos/modules/services/torrent | |
parent | 2a49db6a89efb8825379aa2211b183f734164b31 (diff) | |
download | nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar.gz nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar.bz2 nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar.lz nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar.xz nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.tar.zst nixpkgs-f6c3d4f723d9c8f1809308ec91ff2f63f6475b29.zip |
transmission: fix BindReadOnlyPaths=
Diffstat (limited to 'nixos/modules/services/torrent')
-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 92df46083ec..6041a1b182d 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 != "") |