nixos/swraid: Add missing mkRenamedOption
This commit is contained in:
parent
a0892e0858
commit
162039a233
|
@ -3,6 +3,11 @@
|
||||||
cfg = config.boot.swraid;
|
cfg = config.boot.swraid;
|
||||||
|
|
||||||
in {
|
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 = {
|
options.boot.swraid = {
|
||||||
enable = lib.mkEnableOption (lib.mdDoc "swraid support using mdadm") // {
|
enable = lib.mkEnableOption (lib.mdDoc "swraid support using mdadm") // {
|
||||||
|
|
Loading…
Reference in a new issue