NixOS-Config/modules/system/devices/networking/firewall/pc/default.nix

10 lines
206 B
Nix
Raw Normal View History

2024-10-09 03:36:08 -04:00
{ outputs, ... }:
{
networking.firewall = {
allowPing = false;
extraInputRules = ''
ip saddr { ${outputs.ips.server}, ${outputs.ips.wgSpan}.1 } accept comment "Accept Server"
'';
};
}