Merge pull request #243577 from yayayayaka/swraid-add-mkRenamedOption

nixos/swraid: Add missing mkRenamedOption
This commit is contained in:
adisbladis 2023-07-15 16:58:30 +12:00 committed by GitHub
commit 6d27f45d6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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