NixOS-Config/system/desktop/firewall.nix

13 lines
227 B
Nix
Raw Normal View History

2024-08-24 22:16:51 -04:00
{
# Networking settings
networking = {
# Enable firewall
firewall = {
allowPing = false;
extraInputRules = ''
ip saddr 10.0.0.2 accept comment "Accept Server Connections"
'';
};
};
}