From 162039a2336d88affd2542cb67f82672078ae029 Mon Sep 17 00:00:00 2001 From: Matti Date: Sat, 15 Jul 2023 03:46:04 +0200 Subject: [PATCH] nixos/swraid: Add missing mkRenamedOption --- nixos/modules/tasks/swraid.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix index 9dca230ac0d..f624294565b 100644 --- a/nixos/modules/tasks/swraid.nix +++ b/nixos/modules/tasks/swraid.nix @@ -3,6 +3,11 @@ cfg = config.boot.swraid; in { + imports = [ + (lib.mkRenamedOptionModule [ "boot" "initrd" "services" "swraid" "enable" ] [ "boot" "swraid" "enable" ]) + (lib.mkRenamedOptionModule [ "boot" "initrd" "services" "swraid" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ]) + ]; + options.boot.swraid = { enable = lib.mkEnableOption (lib.mdDoc "swraid support using mdadm") // {