feat: setup firewall

This commit is contained in:
Laureηt 2022-12-23 15:27:43 +01:00
parent 3e41b83066
commit 401cca49a9
Signed by: Laurent
SSH key fingerprint: SHA256:kZEpW8cMJ54PDeCvOhzreNr4FSh6R13CMGH/POoO8DI

View file

@ -15,6 +15,9 @@ in {
# networking # networking
networking.hostName = "neodymium"; networking.hostName = "neodymium";
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
networking.firewall.enable = true;
networking.firewall.allowedTCPPorts = [];
networking.firewall.allowedUDPPorts = [];
# use systemd-boot EFI boot loader # use systemd-boot EFI boot loader
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;