Unverified Commit 3f90386b authored by John Titor's avatar John Titor
Browse files

nixos/lvm: enable lvm when using systemd in stage 1 initrd

parent c57e54a4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -31,6 +31,8 @@ in {

      Whether to enable booting from LVM2 in the initrd.
    '';
    default = config.boot.initrd.systemd.enable && config.services.lvm.enable;
    defaultText = lib.literalExpression "config.boot.initrd.systemd.enable && config.services.lvm.enable";
  };

  config = mkMerge [