diff --git a/modules/hosts/robin/configuration.nix b/modules/hosts/robin/configuration.nix index fa0bb6e..c8e3d80 100644 --- a/modules/hosts/robin/configuration.nix +++ b/modules/hosts/robin/configuration.nix @@ -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) ''; @@ -101,6 +102,12 @@ fsType = "ext4"; options = [ "bind" ]; }; + + fileSystems."/export/nextcloud" = { + device = "/mnt/raid/nextcloud"; + fsType = "ext4"; + options = [ "bind" ]; + }; networking.firewall = { enable = true;