mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/networkd: Add more valid values for RequiredForOnline
`RequiredForOnline` allows for a boolean value or operational state. This adds the values for all valid the operational states.
This commit is contained in:
parent
b508ecb6ef
commit
0aeaf4dfe0
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ let
|
|||
(assertValueOneOf "ARP" boolValues)
|
||||
(assertValueOneOf "Multicast" boolValues)
|
||||
(assertValueOneOf "Unmanaged" boolValues)
|
||||
(assertValueOneOf "RequiredForOnline" boolValues)
|
||||
(assertValueOneOf "RequiredForOnline" (boolValues ++ ["off" "no-carrier" "dormant" "degraded-carrier" "carrier" "degraded" "enslaved" "routable"]))
|
||||
];
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue