drop deprecated boot.initrd.services.swraid.enable option

This commit is contained in:
Jörg Thalheim authored and mergify[bot] committed 2023-08-11 08:45:46 +00:00
1 parent b32f0e2876
commit 241c878d4b
2 files changed
+13 -3

No files matched your search

+6 -2
View File
@@ -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