From be1db27940f3612a0b1a10ca17bfd5be670fd850 Mon Sep 17 00:00:00 2001 From: seraphim <18ycm9tx@anonaddy.me> Date: Tue, 4 Aug 2026 13:28:39 +0700 Subject: , --- nixos/modules/system/boot/default.nix | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nixos/modules/system/boot') diff --git a/nixos/modules/system/boot/default.nix b/nixos/modules/system/boot/default.nix index df64426..54cb1e6 100644 --- a/nixos/modules/system/boot/default.nix +++ b/nixos/modules/system/boot/default.nix @@ -1,15 +1,15 @@ { pkgs, ... }: { + # systemd-boot on UEFI boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; - # EDID firmware loading is kept here because it's a kernel-level boot concern. - # Commented kernel params from the original config are preserved. - # boot.kernelParams = [ - # "drm.edid_firmware=DP-1:edid/mi_edid.bin" - # "video=DP-1:2560x1440@180" - # ]; + # EDID firmware (monitor identity) is exposed to the kernel as firmware so + # the display can be driven at its native resolution; mi_edid.bin lives at + # the repo root next to hardware-configuration.nix. + # NOTE: the matching --kernel-params (drm.edid_firmware / video=) are kept + # commented out because they hard-pin a specific DP output name. hardware.firmware = [ (pkgs.runCommand "custom-edid" {} '' mkdir -p $out/lib/firmware/edid -- cgit v1.2.3