diff options
author | Jörg Thalheim <Mic92@users.noreply.github.com> | 2017-07-13 14:35:23 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-13 14:35:23 +0100 |
commit | b14bcd873a193059223580d9cff1704788b33758 (patch) | |
tree | d35bc7e13c21480ff6e0ba2bae5c9ec57b66ebcb /nixos | |
parent | 3ae2158bae205df10dcbba6a5a4bd9b4f5169a80 (diff) | |
parent | cd8a1a7ceb373a3bcf7894827a6e2e6bf39d0295 (diff) |
Merge pull request #27142 from florianjacob/resolved-multicastdns-support
networkd: Allow new MulticastDNS setting
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/modules/system/boot/networkd.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index f96dde153610..b151b5688928 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -94,7 +94,7 @@ let checkNetwork = checkUnitConfig "Network" [ (assertOnlyFields [ "Description" "DHCP" "DHCPServer" "IPForward" "IPMasquerade" "IPv4LL" "IPv4LLRoute" - "LLMNR" "Domains" "Bridge" "Bond" + "LLMNR" "MulticastDNS" "Domains" "Bridge" "Bond" ]) (assertValueOneOf "DHCP" ["both" "none" "v4" "v6"]) (assertValueOneOf "DHCPServer" boolValues) @@ -103,6 +103,7 @@ let (assertValueOneOf "IPv4LL" boolValues) (assertValueOneOf "IPv4LLRoute" boolValues) (assertValueOneOf "LLMNR" boolValues) + (assertValueOneOf "MulticastDNS" boolValues) ]; checkAddress = checkUnitConfig "Address" [ |