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

This commit is contained in:
Sandro
2026-01-18 11:26:43 +01:00
committed by GitHub
parent 1ed4502789
commit 5ba0f87669
+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