nix-configs

Personal NixOS and home-manager configuration files
Log | Files | Refs

nfs-server.nix (222B)


      1 {
      2   services.nfs.server = {
      3     enable = true;
      4     exports = ''
      5       /tank    192.168.1.0/24(rw)
      6     '';
      7   };
      8   networking.firewall = {
      9       allowedTCPPorts = [ 111 2049 ];
     10       allowedUDPPorts = [ 111 2049 ];
     11     };
     12 }