diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-17 20:58:27 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-10-17 20:58:27 +0200 |
commit | 610bf85460c1371aa2af035054b7f9d641132388 (patch) | |
tree | 5ccb6597ecc10c76f114f7b0c8cf51d64d62a8d4 /modules/networkd/default.nix | |
parent | 3a2161ef205c432db0053e9a82893069b54e55ed (diff) | |
download | nixos-610bf85460c1371aa2af035054b7f9d641132388.tar nixos-610bf85460c1371aa2af035054b7f9d641132388.tar.gz nixos-610bf85460c1371aa2af035054b7f9d641132388.tar.bz2 nixos-610bf85460c1371aa2af035054b7f9d641132388.tar.xz nixos-610bf85460c1371aa2af035054b7f9d641132388.zip |
yggdrasil-wg: ...
Diffstat (limited to 'modules/networkd/default.nix')
-rw-r--r-- | modules/networkd/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/networkd/default.nix b/modules/networkd/default.nix index 007f14c6..f78a9aee 100644 --- a/modules/networkd/default.nix +++ b/modules/networkd/default.nix | |||
@@ -96,6 +96,7 @@ let | |||
96 | "MACAddress" | 96 | "MACAddress" |
97 | ]) | 97 | ]) |
98 | (assertHasField "Name") | 98 | (assertHasField "Name") |
99 | (assertMaxLength "Name" 15) | ||
99 | (assertHasField "Kind") | 100 | (assertHasField "Kind") |
100 | (assertValueOneOf "Kind" [ | 101 | (assertValueOneOf "Kind" [ |
101 | "bond" | 102 | "bond" |