From 5ba0f87669d1dce34055dcfb549ecb9b8ba56a65 Mon Sep 17 00:00:00 2001 From: Sandro Date: Sun, 18 Jan 2026 11:26:43 +0100 Subject: [PATCH] nixos/initrd-network: fix defaultText rendering of udhcpc.enable option in search --- nixos/modules/system/boot/initrd-network.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/initrd-network.nix b/nixos/modules/system/boot/initrd-network.nix index 179297619367..652815a2d6fd 100644 --- a/nixos/modules/system/boot/initrd-network.nix +++ b/nixos/modules/system/boot/initrd-network.nix @@ -89,7 +89,7 @@ in boot.initrd.network.udhcpc.enable = mkOption { default = config.networking.useDHCP && !config.boot.initrd.systemd.enable; - defaultText = "networking.useDHCP"; + defaultText = lib.literalExpression "config.networking.useDHCP"; type = types.bool; description = '' Enables the udhcpc service during stage 1 of the boot process. This