From 1434aa07d9cf755aa57fe29e8ef3dc998089ec32 Mon Sep 17 00:00:00 2001 From: Charlotte Van Petegem Date: Mon, 3 Jun 2024 21:12:42 +0200 Subject: [PATCH] ovh: also remove deprecated attrs here --- modules/base/network/ovh.nix | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/base/network/ovh.nix b/modules/base/network/ovh.nix index 808d75d6..5ee4802c 100644 --- a/modules/base/network/ovh.nix +++ b/modules/base/network/ovh.nix @@ -38,10 +38,8 @@ gateway = [ publicIPV4.gateway ]; routes = [ { - routeConfig = { - Gateway = publicIPV6.gateway; - GatewayOnLink = true; - }; + Gateway = publicIPV6.gateway; + GatewayOnLink = true; } ]; dns = [ @@ -56,7 +54,7 @@ matchConfig = { Name = "eno4"; }; address = [ "${internalIPV4}/16" ]; routes = [ - { routeConfig = { Destination = "${internalIPV4}/16"; }; } + { Destination = "${internalIPV4}/16"; } ]; }; };