diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index c56a5b3bfdfa..130d6098b1e2 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -915,7 +915,9 @@ let "UseAddress" "UseDNS" "UseNTP" + "SendHostname" "UseHostname" + "Hostname" "UseDomains" "RouteMetric" "RapidCommit" @@ -936,6 +938,7 @@ let (assertValueOneOf "UseAddress" boolValues) (assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseNTP" boolValues) + (assertValueOneOf "SendHostname" boolValues) (assertValueOneOf "UseHostname" boolValues) (assertValueOneOf "UseDomains" (boolValues ++ ["route"])) (assertInt "RouteMetric")