13 lines
227 B
Nix
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"
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
}
|