nixos/installation-cd-base: fix installer expecting LUKS devices

If we create an installer based on a configuration that uses LUKS and we try to
boot it on an unformatted machine, it will fail waiting for the LUKS device to
appear.

We override `boot.initrd.luks.devices` like the `qemu-vm` module to solve this issue:

https://github.com/NixOS/nixpkgs/blob/f23e0d855a4f6f055724f539a57dd95f57147778/nixos/modules/virtualisation/qemu-vm.nix#L1407-L1408

Changed files
+1
nixos
modules
installer
+1
nixos/modules/installer/cd-dvd/installation-cd-base.nix
···
# system layout on a fresh machine, before it has been formatted.
swapDevices = lib.mkImageMediaOverride [ ];
fileSystems = lib.mkImageMediaOverride config.lib.isoFileSystems;
boot.postBootCommands = ''
for o in $(</proc/cmdline); do
···
# system layout on a fresh machine, before it has been formatted.
swapDevices = lib.mkImageMediaOverride [ ];
fileSystems = lib.mkImageMediaOverride config.lib.isoFileSystems;
+
boot.initrd.luks.devices = lib.mkImageMediaOverride { };
boot.postBootCommands = ''
for o in $(</proc/cmdline); do