···150150151151- `wrapHelm` now exposes `passthru.pluginsDir` which can be passed to `helmfile`. For convenience, a top-level package `helmfile-wrapped` has been added, which inherits `passthru.pluginsDir` from `kubernetes-helm-wrapped`. See [#217768](https://github.com/NixOS/nixpkgs/issues/217768) for details.
152152153153+- `boot.initrd.network.udhcp.enable` allows control over dhcp during stage 1 regardless of what `networking.useDHCP` is set to.
154154+153155## Nixpkgs internals {#sec-release-23.11-nixpkgs-internals}
154156155157- The `qemu-vm.nix` module by default now identifies block devices via
+16-5
nixos/modules/system/boot/initrd-network.nix
···77 cfg = config.boot.initrd.network;
8899 dhcpInterfaces = lib.attrNames (lib.filterAttrs (iface: v: v.useDHCP == true) (config.networking.interfaces or {}));
1010- doDhcp = config.networking.useDHCP || dhcpInterfaces != [];
1111- dhcpIfShellExpr = if config.networking.useDHCP
1010+ doDhcp = cfg.udhcpc.enable || dhcpInterfaces != [];
1111+ dhcpIfShellExpr = if config.networking.useDHCP || cfg.udhcpc.enable
1212 then "$(ls /sys/class/net/ | grep -v ^lo$)"
1313 else lib.concatMapStringsSep " " lib.escapeShellArg dhcpInterfaces;
1414···7979 '';
8080 };
81818282+ boot.initrd.network.udhcpc.enable = mkOption {
8383+ default = config.networking.useDHCP;
8484+ defaultText = "networking.useDHCP";
8585+ type = types.bool;
8686+ description = lib.mdDoc ''
8787+ Enables the udhcpc service during stage 1 of the boot process. This
8888+ defaults to {option}`networking.useDHCP`. Therefore, this useful if
8989+ useDHCP is off but the initramfs should do dhcp.
9090+ '';
9191+ };
9292+8293 boot.initrd.network.udhcpc.extraArgs = mkOption {
8394 default = [];
8495 type = types.listOf types.str;
8596 description = lib.mdDoc ''
8686- Additional command-line arguments passed verbatim to udhcpc if
8787- {option}`boot.initrd.network.enable` and {option}`networking.useDHCP`
8888- are enabled.
9797+ Additional command-line arguments passed verbatim to
9898+ udhcpc if {option}`boot.initrd.network.enable` and
9999+ {option}`boot.initrd.network.udhcpc.enable` are enabled.
89100 '';
90101 };
91102