hostName = "skullheadx.com";
};
+ # NFS
+ services.nfs = {
+ server = {
+ enable = true;
+ createMountPoints = true;
+ exports = ''
+ /srv/data *(rw,sync,no_subtree_check,crossmnt,fsid=0,root_squash)
+ '';
+ extraNfsdConfig = ''
+ [nfsd]
+ vers3=off
+ vers4=yes
+ udp=off
+ tcp=on
+ '';
+ };
+ };
+
networking.hostName = "icon";
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
# $ nix search wget
environment.systemPackages = with pkgs; [
wireguard-tools
+ nfs-utils
btop
nethogs
];
};
# Open ports in the firewall.
- networking.firewall.allowedTCPPorts = [9418 8080 6667];
- networking.firewall.allowedUDPPorts = [55555];
+ networking.firewall.allowedTCPPorts = [9418 8080 6667 2049]; # git, gitweb, irc, nfs
+ networking.firewall.allowedUDPPorts = [55555]; # wireguard
# Or disable the firewall altogether.
# networking.firewall.enable = false;