From bceefce387c7b40a32f9edcc68c0735c1aed43ea Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Sat, 19 Jul 2025 22:15:14 +0000
Subject: [PATCH] Expose NFS ports

---
 smini/configuration.nix |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/smini/configuration.nix b/smini/configuration.nix
index 2b242f4..7b3f211 100644
--- a/smini/configuration.nix
+++ b/smini/configuration.nix
@@ -85,9 +85,13 @@
 
   # List services that you want to enable:
 
+  services.nfs.server = {
+    enable = true;
+  };
+
   # Open ports in the firewall.
-  networking.firewall.allowedTCPPorts = [ 80 443 8123 ];
-  # networking.firewall.allowedUDPPorts = [ ... ];
+  networking.firewall.allowedTCPPorts = [ 80 443 111 2049 4000 4001 4002 20048 ];
+  networking.firewall.allowedUDPPorts = [ 111 2049 4000 4001 4002 20048 ];
   # Or disable the firewall altogether.
   # networking.firewall.enable = false;
 

--
Gitblit v1.10.0