modified: nixos/modules/system/boot/networkd.nix

This commit is contained in:
peigongdsd 2022-08-19 21:00:18 +08:00
parent 90de9ee689
commit 506cb62c4e

View file

@ -451,7 +451,7 @@ let
"Multicast"
"AllMulticast"
"Unmanaged"
"Group"
"Group"
"RequiredForOnline"
"RequiredFamilyForOnline"
"ActivationPolicy"
@ -464,8 +464,8 @@ let
(assertValueOneOf "AllMulticast" boolValues)
(assertValueOneOf "Promiscuous" boolValues)
(assertValueOneOf "Unmanaged" boolValues)
(assertInt "Group")
(assertRange "Group" 0 2147483647)
(assertInt "Group")
(assertRange "Group" 0 2147483647)
(assertValueOneOf "RequiredForOnline" (boolValues ++ [
"missing"
"off"