nixos/bcache: enable bcache when using systemd in stage 1 initrd
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user