diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-12-06 18:04:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 18:04:34 +0100 |
commit | 4324419f9ee87e4ee9e5d276d737444531f4d040 (patch) | |
tree | 09d867923e34bcaa85ff60fd831b3cc40263d0b5 /nixos/modules/system | |
parent | 47e5b157a2b98483eba002c5badca50bb96d4a26 (diff) | |
parent | 0aeaf4dfe05380c103285e3168b6e91e28bd04d6 (diff) |
Merge pull request #72888 from fooker/pr-3
nixos/networkd: Add more valid values for RequiredForOnline
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 73e5f8b53936d..58d914d08106a 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"])) ]; |