boot.initrd.network.flushBeforeStage2
NixOS option
Whether to clear the configuration of the interfaces that were set up in the initrd right before stage 2 takes over. Stage 2 will do the regular network configuration based on the NixOS networking options. The default is false when systemd is enabled in initrd, because the systemd-networkd documentation suggests it.
type: booleanDefault
declared in: nixos/modules/system/boot/initrd-network.nixView source on NixOS/nixpkgs →"!config.boot.initrd.systemd.enable"