dotfiles/nix/configs/firewall.nix
2024-08-29 18:25:03 +02:00

12 lines
170 B
Nix

{ pkgs, ... }: {
networking.firewall = {
enable = true;
allowedUDPPorts = [
34197 #factorio
];
allowedTCPPorts = [
25565 # mc
];
};
}