mirror of
https://github.com/nix-community/disko.git
synced 2026-12-04 15:03:28 +01:00
drop deprecated boot.initrd.services.swraid.enable option
This commit is contained in:
1 parent
b32f0e2876
commit
241c878d4b
2 files changed
+13
-3
No files matched your search
+6
-2
@@ -171,9 +171,14 @@ let
|
||||
lib.optional (lib.meta.availableOn pkgs.stdenv.hostPlatform config.boot.zfs.package) "zfs";
|
||||
networking.hostId = "8425e349";
|
||||
})
|
||||
|
||||
(if lib.versionAtLeast (lib.versions.majorMinor lib.version) "23.11" then {
|
||||
boot.swraid.enable = true;
|
||||
} else {
|
||||
boot.initrd.services.swraid.enable = true;
|
||||
})
|
||||
];
|
||||
|
||||
boot.initrd.services.swraid.enable = true;
|
||||
systemd.services.mdmonitor.enable = false; # silence some weird warnings
|
||||
|
||||
environment.systemPackages = [
|
||||
@@ -265,4 +270,3 @@ let
|
||||
};
|
||||
in
|
||||
testLib
|
||||
|
||||
Reference in new issue
Block a user