Adjust NFS permissions and transmission settings
This commit is contained in:
parent
fd12a7394a
commit
f811cc0951
|
@ -11,10 +11,9 @@
|
|||
services.nfs.server = {
|
||||
enable = true;
|
||||
exports = ''
|
||||
/export 192.168.10.4(rw,fsid=0,no_subtree_check) 192.168.10.5(rw,fsid=0,no_subtree_check)
|
||||
/export/riker-backup 192.168.10.4(rw,nohide,no_subtree_check,no_root_squash)
|
||||
/export/doyle-backup 192.168.10.5(rw,nohide,no_subtree_check,no_root_squash)
|
||||
|
||||
/export 192.168.10.4(rw,fsid=0,no_subtree_check) 192.168.10.5(rw,fsid=0,no_subtree_check) 192.168.10.2(rw,fsid=0,no_subtree_check)
|
||||
/export/riker-backup 192.168.10.2(rw,nohide,no_subtree_check,no_root_squash)
|
||||
/export/doyle-backup 192.168.10.2(rw,nohide,no_subtree_check,no_root_squash)
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
@ -32,8 +32,9 @@ in {
|
|||
];
|
||||
environment = {
|
||||
OPENVPN_PROVIDER = "PIA";
|
||||
OPENVPN_CONFIG = "norway,sweden,de_frankfurt";
|
||||
OPENVPN_CONFIG = "sweden,norway,de_frankfurt";
|
||||
LOCAL_NETWORK = "192.168.10.0/24";
|
||||
TRANSMISSION_WEB_UI = "flood-for-transmission";
|
||||
PUID = toString uid;
|
||||
PGID = toString gid;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue