nixos/initrd-network: fix defaultText rendering of udhcpc.enable option in search (#481276)

This commit is contained in:
Sandro
2026-01-21 23:37:20 +00:00
committed by GitHub
+1 -1
View File
@@ -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