mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 20:25:32 +03:00
nixos/bcache: enable bcache when using systemd in stage 1 initrd
This commit is contained in:
parent
3f90386b24
commit
468a6cbbbe
1 changed files with 2 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue