mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
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:
@@ -786,6 +786,5 @@ in
|
||||
};
|
||||
|
||||
imports = [
|
||||
(mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
|
||||
];
|
||||
}
|
||||
|
||||
@@ -26,6 +26,7 @@ in
|
||||
[ "boot" "initrd" "services" "swraid" "mdadmConf" ]
|
||||
[ "boot" "swraid" "mdadmConf" ]
|
||||
)
|
||||
(lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
|
||||
];
|
||||
|
||||
options.boot.swraid = {
|
||||
|
||||
Reference in New Issue
Block a user