diff --git a/hosts/OVHCloud/hardware-configuration.nix b/hosts/OVHCloud/hardware-configuration.nix index 1cd7099..4abba82 100644 --- a/hosts/OVHCloud/hardware-configuration.nix +++ b/hosts/OVHCloud/hardware-configuration.nix @@ -8,4 +8,11 @@ efiSupport = true; efiInstallAsRemovable = true; }; + + # Firewall + networking.nftables.enable = true; + networking.firewall = { + enable = true; + allowedTCPPorts = [22 80 443]; + }; }