From 04f51744254ce07b231a251fbf01791315b3cf4c Mon Sep 17 00:00:00 2001 From: Daniel Barlow Date: Thu, 28 Mar 2024 22:13:21 +0000 Subject: [PATCH] fix vanilla-configuration defaultroute --- vanilla-configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vanilla-configuration.nix b/vanilla-configuration.nix index f4ef2ab..5814e8a 100644 --- a/vanilla-configuration.nix +++ b/vanilla-configuration.nix @@ -16,7 +16,7 @@ in rec { in svc.network.dhcp.client.build { interface = iface; }; services.defaultroute4 = svc.network.route.build { - via = "$(output ${services.dhcpv4} address)"; + via = "$(output ${services.dhcpv4} ip)"; target = "default"; dependencies = [ services.dhcpv4 ]; };