nixos/*: unhide remaining systemd stage-1 options

These options were missed in NixOS/nixpkgs#226237, but they all were
specifically added for systemd stage-1.
This commit is contained in:
Lily Foster
2023-07-03 08:41:38 -04:00
parent 46e3229c8d
commit e9207b0501
6 changed files with 19 additions and 14 deletions

View File

@@ -5,8 +5,12 @@
in {
options.boot.initrd.services.swraid = {
enable = (lib.mkEnableOption (lib.mdDoc "swraid support using mdadm")) // {
visible = false; # only has effect when the new stage 1 is in place
enable = lib.mkEnableOption (lib.mdDoc "swraid support using mdadm") // {
description = ''
*This will only be used when systemd is used in stage 1.*
Whether to enable swraid support using mdadm.
'';
};
mdadmConf = lib.mkOption {