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.
main
Maximilian Bosch 2 years ago
parent b08a06859c
commit 9c18662612
No known key found for this signature in database
GPG Key ID: 091DBF4D1FC46B8E
  1. 1
      nixos/modules/system/boot/networkd.nix

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

Loading…
Cancel
Save