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.
22 lines
339 B
Nix
22 lines
339 B
Nix
{ lib, config, ... }:
|
|
with lib;
|
|
let
|
|
cfg = config.os.boot.limine;
|
|
in
|
|
{
|
|
options.os.boot.limine = {
|
|
enable = mkEnableOption "Boot Limine service";
|
|
};
|
|
config = mkIf cfg.enable {
|
|
|
|
boot.loader = {
|
|
limine = {
|
|
enable = true;
|
|
maxGenerations = 10;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
};
|
|
}
|