add other nfs directory
This commit is contained in:
parent
ccf57f5984
commit
595c32044c
|
@ -12,13 +12,16 @@
|
||||||
statdPort = 4000;
|
statdPort = 4000;
|
||||||
extraNfsdConfig = '''';
|
extraNfsdConfig = '''';
|
||||||
exports = ''
|
exports = ''
|
||||||
/home/ftp 192.168.1.0/24(rw)
|
/home/ftp 192.168.1.0/24(rw)
|
||||||
'';
|
/mnt/one 192.168.1.0/24(rw)
|
||||||
|
/mnt/two 192.168.1.0/24(rw)
|
||||||
|
/mnt/three 192.168.1.0/24(rw)
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
allowedTCPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
||||||
allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
#systemd.services.create-mount-dir = {
|
#systemd.services.create-mount-dir = {
|
||||||
|
|
Loading…
Reference in a new issue