Add nextcloud export

This commit is contained in:
Astra Logical 2026-06-26 18:17:20 -04:00
parent 289f48fef9
commit 659ff3b169

View file

@ -87,6 +87,7 @@
server.enable = true; server.enable = true;
server.exports = '' server.exports = ''
/export/yarr 192.168.1.0/16(rw,secure,anonuid=1000,anongid=1000,all_squash) /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) /export 192.168.1.0/16(ro,fsid=0,root_squash,subtree_check,secure)
''; '';
@ -101,6 +102,12 @@
fsType = "ext4"; fsType = "ext4";
options = [ "bind" ]; options = [ "bind" ];
}; };
fileSystems."/export/nextcloud" = {
device = "/mnt/raid/nextcloud";
fsType = "ext4";
options = [ "bind" ];
};
networking.firewall = { networking.firewall = {
enable = true; enable = true;