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

10 lines
203 B
Nix
Raw Normal View History

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