NixOS-Config/modules/system/devices/networking/firewall/pc/default.nix
2024-10-09 03:36:08 -04:00

10 lines
206 B
Nix

{ outputs, ... }:
{
networking.firewall = {
allowPing = false;
extraInputRules = ''
ip saddr { ${outputs.ips.server}, ${outputs.ips.wgSpan}.1 } accept comment "Accept Server"
'';
};
}