commit 1aa0ec4b07fa1876e5f7a910caba842b18b57145 parent fd4c77d28cd3e79314659c633ef59bc895401ad0 Author: Chris <chris@echoz.io> Date: Wed, 12 Nov 2025 09:22:34 +0100 feat: properly configure network for ws Diffstat:
| M | hosts/ws/default.nix | | | 25 | +++++++++++++++++++++++++ |
1 file changed, 25 insertions(+), 0 deletions(-)
diff --git a/hosts/ws/default.nix b/hosts/ws/default.nix @@ -18,6 +18,31 @@ networking = { hostName = "ws"; hostId = "e27df163"; + + useDHCP = false; + enableIPv6 = false; + + bridges.br0.interfaces = [ + "eno1" + "eno2" + ]; + + nameservers = [ "10.120.120.101" ]; + domain = "lan.inl1.echoz.io"; + search = [ "lan.inl1.echoz.io" ]; + + defaultGateway = "10.210.120.201"; + + interfaces.br0.ipv4.addresses = [ + { + address = "10.210.100.101"; + prefixLength = 16; + } + { + address = "192.168.0.5"; + prefixLength = 24; + } + ]; }; boot = {