Loading nixos/modules/system/boot/initrd-network.nix +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ in }; boot.initrd.network.udhcpc.enable = mkOption { default = config.networking.useDHCP; default = config.networking.useDHCP && !config.boot.initrd.systemd.enable; defaultText = "networking.useDHCP"; type = types.bool; description = lib.mdDoc '' Loading nixos/modules/system/boot/networkd.nix +3 −3 Original line number Diff line number Diff line Loading @@ -2985,10 +2985,10 @@ in stage2Config (mkIf config.boot.initrd.systemd.enable { assertions = [{ assertion = config.boot.initrd.network.udhcpc.extraArgs == []; assertion = !config.boot.initrd.network.udhcpc.enable && config.boot.initrd.network.udhcpc.extraArgs == []; message = '' boot.initrd.network.udhcpc.extraArgs is not supported when boot.initrd.systemd.enable is enabled systemd stage 1 networking does not support 'boot.initrd.network.udhcpc'. Configure DHCP with 'networking.*' options or with 'boot.initrd.systemd.network' options. ''; }]; Loading Loading
nixos/modules/system/boot/initrd-network.nix +1 −1 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ in }; boot.initrd.network.udhcpc.enable = mkOption { default = config.networking.useDHCP; default = config.networking.useDHCP && !config.boot.initrd.systemd.enable; defaultText = "networking.useDHCP"; type = types.bool; description = lib.mdDoc '' Loading
nixos/modules/system/boot/networkd.nix +3 −3 Original line number Diff line number Diff line Loading @@ -2985,10 +2985,10 @@ in stage2Config (mkIf config.boot.initrd.systemd.enable { assertions = [{ assertion = config.boot.initrd.network.udhcpc.extraArgs == []; assertion = !config.boot.initrd.network.udhcpc.enable && config.boot.initrd.network.udhcpc.extraArgs == []; message = '' boot.initrd.network.udhcpc.extraArgs is not supported when boot.initrd.systemd.enable is enabled systemd stage 1 networking does not support 'boot.initrd.network.udhcpc'. Configure DHCP with 'networking.*' options or with 'boot.initrd.systemd.network' options. ''; }]; Loading