infra/puter/030-vm-nixos-neru/specific-aspect/neru-networking-private.md

20 lines
467 B
Markdown
Raw Normal View History

2025-12-01 13:23:24 +07:00
``` nix
{
networking.useDHCP = false;
networking.interfaces.eth0 = {
ipv4.addresses = [{
address = /*"00.00.000.00"*/;
prefixLength = /*00*/;
}];
};
networking.defaultGateway = /*"00.00.000.000"*/;
networking.nameservers = [ /*"0.0.0.0" "0.0.0.0"*/ ];
networking.firewall = {
enable = true;
allowedTCPPorts = [ /*00 00 000*/ ];
};
}
```
That's gitignored `neru-networking.nix`
better not to share it carelessly right? hehehe