From be9c2dfb50e0864d808399b2c9eb6e450ceb9836 Mon Sep 17 00:00:00 2001
From: Ranomier <>
Date: Sat, 12 Apr 2025 14:53:53 +0200
Subject: [PATCH] format

---
 modules/firewall.nix | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/modules/firewall.nix b/modules/firewall.nix
index 27e120a..cc4dba0 100644
--- a/modules/firewall.nix
+++ b/modules/firewall.nix
@@ -1,7 +1,9 @@
 {
+  networking.firewall = {
+  enable = false;
+
   # Open ports in the firewall.
-  networking.firewall.allowedTCPPorts = [8080 10001 10002];
-  networking.firewall.allowedUDPPorts = [8080 10001 10002];
-  # Or disable the firewall altogether.
-  networking.firewall.enable = false;
+  allowedTCPPorts = [8080 10001 10002];
+  allowedUDPPorts = [8080 10001 10002];
+  };
 }