transmission: specify download-dir and incomplete-dir instead of bind-mounting them
this appears to fix the permissions issue
This commit is contained in:
parent
99d55167f6
commit
8f37edb402
|
@ -38,16 +38,6 @@
|
|||
# options = [ "bind" ];
|
||||
# };
|
||||
|
||||
# TODO: does transmission handle symlinks?
|
||||
fileSystems."/var/lib/transmission/Downloads" = {
|
||||
device = "/var/lib/uninsane/media";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
fileSystems."/var/lib/transmission/.incomplete" = {
|
||||
device = "/var/lib/uninsane/media/incomplete";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
# in-memory compressed RAM (seems to be dynamically sized)
|
||||
zramSwap = {
|
||||
enable = true;
|
||||
|
|
|
@ -33,6 +33,9 @@
|
|||
# see: https://git.zknt.org/mirror/transmission/commit/cfce6e2e3a9b9d31a9dafedd0bdc8bf2cdb6e876?lang=bg-BG
|
||||
anti-brute-force-enabled = false;
|
||||
|
||||
download-dir = "/var/lib/uninsane/media";
|
||||
incomplete-dir = "/var/lib/uninsane/media/incomplete";
|
||||
|
||||
};
|
||||
# transmission will by default not allow the world to read its files.
|
||||
services.transmission.downloadDirPermissions = "775";
|
||||
|
|
Loading…
Reference in New Issue
Block a user