nixos/swraid: Add missing mkRenamedOption

This commit is contained in:
Matti 2023-07-15 03:46:04 +02:00
parent a0892e0858
commit 162039a233

View file

@ -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") // {