NixOS-Config/nixos/desktop/firewall.nix
2024-08-24 22:16:51 -04:00

13 lines
227 B
Nix

{
# Networking settings
networking = {
# Enable firewall
firewall = {
allowPing = false;
extraInputRules = ''
ip saddr 10.0.0.2 accept comment "Accept Server Connections"
'';
};
};
}