mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
nixos/transmission: /run/host must be writable, fixes #258793
This commit is contained in:
parent
582f1e7321
commit
dd77a799f8
1 changed files with 3 additions and 1 deletions
|
@ -314,6 +314,9 @@ in
|
|||
BindPaths =
|
||||
[ "${cfg.home}/${settingsDir}"
|
||||
cfg.settings.download-dir
|
||||
# Transmission may need to read in the host's /run (eg. /run/systemd/resolve)
|
||||
# or write in its private /run (eg. /run/host).
|
||||
"/run"
|
||||
] ++
|
||||
optional cfg.settings.incomplete-dir-enabled
|
||||
cfg.settings.incomplete-dir ++
|
||||
|
@ -324,7 +327,6 @@ in
|
|||
# an AppArmor profile is provided to get a confinement based upon paths and rights.
|
||||
builtins.storeDir
|
||||
"/etc"
|
||||
"/run"
|
||||
] ++
|
||||
optional (cfg.settings.script-torrent-done-enabled &&
|
||||
cfg.settings.script-torrent-done-filename != null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue