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

18 lines
227 B
Nix
Raw Normal View History

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