Commit f1bf13d0 authored by phaer's avatar phaer
Browse files

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.
parent 3d7d2c95
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -786,6 +786,5 @@ in
  };

  imports = [
    (mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
  ];
}
+1 −0
Original line number Diff line number Diff line
@@ -26,6 +26,7 @@ in
      [ "boot" "initrd" "services" "swraid" "mdadmConf" ]
      [ "boot" "swraid" "mdadmConf" ]
    )
    (lib.mkRenamedOptionModule [ "boot" "initrd" "mdadmConf" ] [ "boot" "swraid" "mdadmConf" ])
  ];

  options.boot.swraid = {