From 9c186626125999e917027accc297d1c9b24e1fcb Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Fri, 29 Apr 2022 13:55:16 +0200 Subject: [PATCH] nixos/networkd: allow RouteMetric for IPv6AcceptRA According to `systemd.network(5)` of systemd v249 this is a valid option. Fixes evaluation of the wildcard network definitions. --- nixos/modules/system/boot/networkd.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index d1a6f46bfc40..0336930b3ab7 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -779,6 +779,7 @@ let "RouteDenyList" "RouteAllowList" "DHCPv6Client" + "RouteMetric" ]) (assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseDomains" (boolValues ++ ["route"]))