From 5c5279567fc8a7c6b29a438dd81d9c1b9a2b109d Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 27 Jul 2023 16:34:15 +0200 Subject: [PATCH] types mdadm: enable swraid --- lib/types/mdadm.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/types/mdadm.nix b/lib/types/mdadm.nix index 9749fe1..0a073bb 100644 --- a/lib/types/mdadm.nix +++ b/lib/types/mdadm.nix @@ -59,6 +59,7 @@ internal = true; readOnly = true; default = + [{ boot.initrd.services.swraid.enable = true; }] ++ lib.optional (config.content != null) config.content._config; description = "NixOS configuration"; };