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/profiles/installation-device.nix | |
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/profiles/installation-device.nix')
-rw-r--r-- | nixos/modules/profiles/installation-device.nix | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix index eea58294fb15b..4120d5919d7d7 100644 --- a/nixos/modules/profiles/installation-device.nix +++ b/nixos/modules/profiles/installation-device.nix @@ -106,9 +106,7 @@ with lib; systemdStage1Network ]; - boot.initrd.services = { - swraid.enable = true; - }; + boot.swraid.enable = true; # Show all debug messages from the kernel but don't log refused packets # because we have the firewall enabled. This makes installs from the |