nixos-generate-config script adds
<nixpkgs/nixos/modules/installer/scan/not-detected.nix> to the imports list in
hardware-configuration.nix. That file (
not-detected.nix) seems to merely set the default for
hardware.enableRedistributableFirmware and according to its history, never did more than that.
Is there a reason for this strange extra indirection?
I.e. why not just write
hardware.enableRedistributableFirmware = lib.mkDefault true; directly into
hardware-configuration.nix as its done with the other options?