diff options
author | Linus Heckemann <git@sphalerite.org> | 2023-07-10 20:20:08 +0200 |
---|---|---|
committer | Linus Heckemann <git@sphalerite.org> | 2023-07-10 20:20:08 +0200 |
commit | c0f963a33805a7906de59b1f4bd73962d0130d5b (patch) | |
tree | 363fa9f54fb94e17bc2d84c2bf58501f7acf289e /nixos/modules/installer | |
parent | 0b277bcc2b40c6ecd728c44635fa92262bedf620 (diff) |
boot.initrd.services.swraid -> boot.swraid
Since the option affects both stage-1 and stage-2, it does not make sense to keep it within the boot.initrd namespace.
Diffstat (limited to 'nixos/modules/installer')
-rw-r--r-- | nixos/modules/installer/tools/nixos-generate-config.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/installer/tools/nixos-generate-config.pl b/nixos/modules/installer/tools/nixos-generate-config.pl index b08bf1e45d132..7d0c5898e23df 100644 --- a/nixos/modules/installer/tools/nixos-generate-config.pl +++ b/nixos/modules/installer/tools/nixos-generate-config.pl @@ -534,7 +534,7 @@ EOF } } if ($useSwraid) { - push @attrs, "boot.initrd.services.swraid.enable = true;\n\n"; + push @attrs, "boot.swraid.enable = true;\n\n"; } |