nix/host/x86_64-linux/desktop/Network.nix

10 lines
189 B
Nix
Raw Normal View History

2024-12-08 22:25:43 +03:00
{ ... }: {
networking = {
firewall.extraCommands = ''
# Local access.
iptables -I INPUT -j ACCEPT -s 10.0.0.0/8
ip6tables -I INPUT -j ACCEPT -s fd09:8d46:0b26::/48
2024-12-08 22:25:43 +03:00
'';
};
}