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.
This commit is contained in:
Maximilian Bosch 2022-04-29 13:55:16 +02:00
parent b08a06859c
commit 9c18662612
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E

View file

@ -779,6 +779,7 @@ let
"RouteDenyList"
"RouteAllowList"
"DHCPv6Client"
"RouteMetric"
])
(assertValueOneOf "UseDNS" boolValues)
(assertValueOneOf "UseDomains" (boolValues ++ ["route"]))