18 lines
435 B
Nix
18 lines
435 B
Nix
{ config, lib, ... }:
|
|
|
|
{
|
|
config = lib.mkIf config.boot.plymouth.enable {
|
|
boot = lib.mkDefault {
|
|
consoleLogLevel = 0;
|
|
initrd = {
|
|
#TODO make this auto detect encrypted drives
|
|
systemd.enable = lib.mkForce true; # Systemd is required for graphic LUKS password prompt
|
|
verbose = false;
|
|
};
|
|
|
|
kernelParams = [ "quiet" "splash" ];
|
|
plymouth.extraConfig = "DeviceScale=2";
|
|
};
|
|
};
|
|
}
|