Merge pull request #243577 from yayayayaka/swraid-add-mkRenamedOption
nixos/swraid: Add missing mkRenamedOption
This commit is contained in:
commit
6d27f45d6b
|
@ -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") // {
|
||||
|
|
Loading…
Reference in a new issue