Add nextcloud export
This commit is contained in:
parent
289f48fef9
commit
659ff3b169
1 changed files with 7 additions and 0 deletions
|
|
@ -87,6 +87,7 @@
|
|||
server.enable = true;
|
||||
server.exports = ''
|
||||
/export/yarr 192.168.1.0/16(rw,secure,anonuid=1000,anongid=1000,all_squash)
|
||||
/export/nextcloud 192.168.1.0/16(rw,secure,no_root_squash)
|
||||
/export 192.168.1.0/16(ro,fsid=0,root_squash,subtree_check,secure)
|
||||
'';
|
||||
|
||||
|
|
@ -102,6 +103,12 @@
|
|||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
fileSystems."/export/nextcloud" = {
|
||||
device = "/mnt/raid/nextcloud";
|
||||
fsType = "ext4";
|
||||
options = [ "bind" ];
|
||||
};
|
||||
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue