Adjust NFS permissions and transmission settings

This commit is contained in:
Felix Albrigtsen 2023-06-22 00:20:35 +02:00
parent fd12a7394a
commit f811cc0951
2 changed files with 5 additions and 5 deletions

View File

@ -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)
'';
};

View File

@ -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;
};