Something went wrong. Try again.
My NixOS dotfiles
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233{ ... }: { imports = [ ./s3.nix ];
services = { nfs.server = { enable = true; statdPort = 4000; lockdPort = 4001; mountdPort = 4002; exports = '' /data 172.16.10.0/24(insecure,rw,sync,crossmnt,fsid=0) 172.16.20.0/24(insecure,rw,sync,crossmnt,fsid=0) 172.16.30.0/24(insecure,rw,sync,crossmnt,fsid=0) ''; }; };
networking.firewall = { enable = true; # for NFSv3; view with `rpcinfo -p` allowedTCPPorts = [ 4000 4001 4002 ]; allowedUDPPorts = [ 4000 4001 4002 ]; };}