expose storage drive over NFS for the local network

This commit is contained in:
Haak Saxberg 2022-08-09 22:45:33 -07:00
parent 819ac7d913
commit 6a856e8b61
2 changed files with 9 additions and 1 deletions

View file

@ -43,5 +43,13 @@
networking.wireless.networks.N904.pskRaw = (
(import ../system/framework/keys.nix).wifi.N904.pskRaw
);
services.nfs.server.enable = true;
services.nfs.server.exports = ''
/export 192.168.1.0/24(insecure,crossmnt,fsid=0)
/export/storage 192.168.1.0/24(insecure)
'';
networking.firewall.allowedTCPPorts = [ 2049 ];
};
}