nichts/modules/system/os/networking/firewall.nix

19 lines
234 B
Nix
Raw Normal View History

2025-05-08 19:51:32 +02:00
{
config,
lib,
pkgs,
...
}: let
in {
networking = {
# use nftables over iptables
nftables.enable = true;
firewall = {
enable = true;
allowPing = true;
2025-05-08 19:51:32 +02:00
logReversePathDrops = true;
};
};
}