diff options
author | Florian Klink <flokli@flokli.de> | 2020-10-29 19:47:42 +0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2020-10-29 19:47:42 +0100 |
commit | b8d59e93c8c2cc941caa4eec17a72303f5ef84f4 (patch) | |
tree | 22a0afcf5bbf1ec73520121fa5bed54d68e8982d /nixos/modules/system/boot | |
parent | 4903ef48f9f9b1806b788b45b1227e02f37e23ee (diff) | |
download | nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar.gz nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar.bz2 nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar.lz nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar.xz nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.tar.zst nixpkgs-b8d59e93c8c2cc941caa4eec17a72303f5ef84f4.zip |
nixos/networkd: allow RouteMetric= in [DHCPv6] section
Diffstat (limited to 'nixos/modules/system/boot')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 47689b2a470..3b01bc00baf 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -648,11 +648,13 @@ let "RapidCommit" "ForceDHCPv6PDOtherInformation" "PrefixDelegationHint" + "RouteMetric" ]) (assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseNTP" boolValues) (assertValueOneOf "RapidCommit" boolValues) (assertValueOneOf "ForceDHCPv6PDOtherInformation" boolValues) + (assertInt "RouteMetric") ]; sectionDHCPServer = checkUnitConfig "DHCPServer" [ |