nichts/modules/system/os/networking/firewall.mod.nix
2025-07-16 22:15:41 +02:00

17 lines
227 B
Nix

{
config,
lib,
pkgs,
...
}: {
networking = {
# use nftables over iptables
nftables.enable = true;
firewall = {
enable = true;
allowPing = true;
logReversePathDrops = true;
};
};
}