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.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;