diff options
author | Matti <adamczyk@finf.uni-hannover.de> | 2023-07-15 03:46:04 +0200 |
---|---|---|
committer | Matti <adamczyk@finf.uni-hannover.de> | 2023-07-15 03:56:54 +0200 |
commit | 162039a2336d88affd2542cb67f82672078ae029 (patch) | |
tree | 6a392a68c0abc7212d61f177029e03b55d8e44c3 /nixos/modules/tasks | |
parent | a0892e08588058ab1cc3e1911ae7178806a623c4 (diff) | |
download | nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar.gz nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar.bz2 nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar.lz nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar.xz nixpkgs-162039a2336d88affd2542cb67f82672078ae029.tar.zst nixpkgs-162039a2336d88affd2542cb67f82672078ae029.zip |
nixos/swraid: Add missing mkRenamedOption
Diffstat (limited to 'nixos/modules/tasks')
-rw-r--r-- | nixos/modules/tasks/swraid.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nixos/modules/tasks/swraid.nix b/nixos/modules/tasks/swraid.nix index 9dca230ac0d..f624294565b 100644 --- a/nixos/modules/tasks/swraid.nix +++ b/nixos/modules/tasks/swraid.nix @@ -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") // { |