Nix/modules/options/boot/plymouth.nix
2024-08-06 23:39:26 -04:00

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";
};
};
}