systemd-stage-1: Revert assertions about initrd commands

Changed files
-19
nixos
modules
system
boot
systemd
-19
nixos/modules/system/boot/systemd/initrd.nix
···
};
config = mkIf (config.boot.initrd.enable && cfg.enable) {
-
assertions = map (name: {
-
assertion = config.boot.initrd.${name} == "";
-
message = ''
-
systemd stage 1 does not support 'boot.initrd.${name}'. Please
-
convert it to analogous systemd units in 'boot.initrd.systemd'.
-
-
Definitions:
-
${lib.concatMapStringsSep "\n" ({ file, ... }: "- ${file}") options.boot.initrd.${name}.definitionsWithLocations}
-
'';
-
}) [
-
"preFailCommands"
-
"preDeviceCommands"
-
"preLVMCommands"
-
"postDeviceCommands"
-
"postMountCommands"
-
"extraUtilsCommands"
-
"extraUtilsCommandsTest"
-
];
-
system.build = { inherit initialRamdisk; };
boot.initrd.availableKernelModules = [