Unverified Commit 468a6cbb authored by John Titor's avatar John Titor
Browse files

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

parent 3f90386b
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,8 @@ in {

      Whether to enable bcache support in the initrd.
    '';
    default = config.boot.initrd.systemd.enable && config.boot.bcache.enable;
    defaultText = lib.literalExpression "config.boot.initrd.systemd.enable && config.boot.bcache.enable";
  };

  config = lib.mkIf cfg.enable {