Configure the Limine bootloader to manage up to 10 generations and enable `canTouchEfiVariables` for improved EFI system integration. Additionally, set Plymouth's `DeviceScale` to 2 to ensure the boot splash screen displays correctly on high-DPI monitors.
28 lines
458 B
Nix
28 lines
458 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.os.boot.plymouth;
|
|
in
|
|
{
|
|
options.os.boot.plymouth = {
|
|
enable = mkEnableOption "Boot plymouth service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
boot.consoleLogLevel = 3;
|
|
boot.initrd.verbose = false;
|
|
boot.kernelParams = [
|
|
"quiet"
|
|
"splash"
|
|
"boot.shell_on_fail"
|
|
];
|
|
|
|
boot.plymouth = {
|
|
enable = true;
|
|
extraConfig = ''
|
|
DeviceScale=2
|
|
'';
|
|
};
|
|
};
|
|
}
|