nixos/stage-1,swraid: move mdadmConf rename to swraid.nix

stage-1.nix had mkRenamedOptionModule from boot.initrd.mdadmConf to
boot.swraid.mdadmConf. Move it to tasks/swraid.nix where the target
option is defined.
This commit is contained in:
phaer
2026-04-03 13:31:35 +02:00
parent 3d7d2c95d4
commit f1bf13d0a4
2 changed files with 1 additions and 1 deletions

View File

@@ -786,6 +786,5 @@ in
};
imports = [
(mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
];
}

View File

@@ -26,6 +26,7 @@ in
[ "boot" "initrd" "services" "swraid" "mdadmConf" ]
[ "boot" "swraid" "mdadmConf" ]
)
(lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
];
options.boot.swraid = {