diff options
author | Dustin Frisch <fooker@lab.sh> | 2019-11-06 13:12:34 +0100 |
---|---|---|
committer | Dustin Frisch <fooker@lab.sh> | 2019-11-06 13:12:34 +0100 |
commit | 0aeaf4dfe05380c103285e3168b6e91e28bd04d6 (patch) | |
tree | 3117ce6a0c16c26a389d90884734fd18bd4866ce /nixos/modules/system | |
parent | b508ecb6ef9b094516bfa92d201f357279fe9aa9 (diff) |
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.
Diffstat (limited to 'nixos/modules/system')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 85a106527fe08..f3fdb2fbbfdaa 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -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"])) ]; |