From 401cca49a931a56e8d058866a08b30145691c625 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Fri, 23 Dec 2022 15:27:43 +0100 Subject: [PATCH] feat: setup firewall --- hosts/neodymium/configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/neodymium/configuration.nix b/hosts/neodymium/configuration.nix index b83b673..eff805e 100644 --- a/hosts/neodymium/configuration.nix +++ b/hosts/neodymium/configuration.nix @@ -15,6 +15,9 @@ in { # networking networking.hostName = "neodymium"; networking.networkmanager.enable = true; + networking.firewall.enable = true; + networking.firewall.allowedTCPPorts = []; + networking.firewall.allowedUDPPorts = []; # use systemd-boot EFI boot loader boot.loader.systemd-boot.enable = true;