From ddfa93ddda7e51dfff57a5b69ed89e72b3c755b7 Mon Sep 17 00:00:00 2001 From: Laurent Gueret Date: Sun, 14 Jun 2026 16:07:13 +0200 Subject: [PATCH] Refine bootloader and boot splash configurations 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. --- modules/system/nixos/boot/limine.nix | 8 +++++++- modules/system/nixos/boot/plymouth.nix | 8 ++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/modules/system/nixos/boot/limine.nix b/modules/system/nixos/boot/limine.nix index 00f5b2c..f4c0146 100644 --- a/modules/system/nixos/boot/limine.nix +++ b/modules/system/nixos/boot/limine.nix @@ -9,7 +9,13 @@ in }; config = mkIf cfg.enable { - boot.loader.limine.enable = true; + boot.loader = { + limine = { + enable = true; + maxGenerations = 10; + }; + efi.canTouchEfiVariables = true; + }; }; } diff --git a/modules/system/nixos/boot/plymouth.nix b/modules/system/nixos/boot/plymouth.nix index 44668b0..9816b2d 100644 --- a/modules/system/nixos/boot/plymouth.nix +++ b/modules/system/nixos/boot/plymouth.nix @@ -17,7 +17,11 @@ in "boot.shell_on_fail" ]; - boot.plymouth.enable = true; - + boot.plymouth = { + enable = true; + extraConfig = '' + DeviceScale=2 + ''; + }; }; }