about summary refs log tree commit diff
path: root/nixos/modules/profiles
diff options
context:
space:
mode:
authorLinus Heckemann <git@sphalerite.org>2023-07-10 20:20:08 +0200
committerLinus Heckemann <git@sphalerite.org>2023-07-10 20:20:08 +0200
commitc0f963a33805a7906de59b1f4bd73962d0130d5b (patch)
tree363fa9f54fb94e17bc2d84c2bf58501f7acf289e /nixos/modules/profiles
parent0b277bcc2b40c6ecd728c44635fa92262bedf620 (diff)
downloadnixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar.gz
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar.bz2
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar.lz
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar.xz
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.tar.zst
nixlib-c0f963a33805a7906de59b1f4bd73962d0130d5b.zip
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')
-rw-r--r--nixos/modules/profiles/installation-device.nix4
1 files changed, 1 insertions, 3 deletions
diff --git a/nixos/modules/profiles/installation-device.nix b/nixos/modules/profiles/installation-device.nix
index eea58294fb15..4120d5919d7d 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