commit 0fb5c8c083aca385eca4100891624bfac869df66 parent af1d8bb507906e876e7135498486064aa5950179 Author: MTRNord <mtrnord1@gmail.com> Date: Sun, 28 Jan 2024 17:03:00 +0100 Working on opnsense Diffstat:
| M | nixos/worker-2/configuration.nix | | | 21 | +++------------------ |
1 file changed, 3 insertions(+), 18 deletions(-)
diff --git a/nixos/worker-2/configuration.nix b/nixos/worker-2/configuration.nix @@ -115,25 +115,10 @@ in { address = [ "10.0.0.3/32" ]; - # gateway = [ - # "10.0.0.1" - # ]; - DHCP = "yes"; - routes = [ - { - routeConfig = { - Destination = "10.0.0.2/32"; - Gateway = "10.0.0.1"; - }; - } - { - routeConfig = { - Destination = "10.0.0.0/16"; - Gateway = "10.0.0.2"; - GatewayOnLink = true; - }; - } + gateway = [ + "10.0.0.1" ]; + DHCP = "yes"; }; "20-v6" = { matchConfig = {