From 5082384e7d8c5705a3fe92787db8c88aad2f6ac5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=B6gler?= Date: Sun, 13 Oct 2024 18:44:25 +0200 Subject: [PATCH] networkd: add missing option SendHostname and Hostname for dhcpV6Config --- nixos/modules/system/boot/networkd.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nixos/modules/system/boot/networkd.nix b/nixos/modules/system/boot/networkd.nix index 94a5de7e2bd4..08bf011d28e1 100644 --- a/nixos/modules/system/boot/networkd.nix +++ b/nixos/modules/system/boot/networkd.nix @@ -909,7 +909,9 @@ let "UseAddress" "UseDNS" "UseNTP" + "SendHostname" "UseHostname" + "Hostname" "UseDomains" "RouteMetric" "RapidCommit" @@ -930,6 +932,7 @@ let (assertValueOneOf "UseAddress" boolValues) (assertValueOneOf "UseDNS" boolValues) (assertValueOneOf "UseNTP" boolValues) + (assertValueOneOf "SendHostname" boolValues) (assertValueOneOf "UseHostname" boolValues) (assertValueOneOf "UseDomains" (boolValues ++ ["route"])) (assertInt "RouteMetric")