summaryrefslogtreecommitdiff
path: root/nixos/modules/system/boot/default.nix
diff options
context:
space:
mode:
authorseraphim <18ycm9tx@anonaddy.me>2026-08-04 13:28:39 +0700
committerseraphim <18ycm9tx@anonaddy.me>2026-08-04 13:28:39 +0700
commitbe1db27940f3612a0b1a10ca17bfd5be670fd850 (patch)
tree4c179819d89a7d842cd9b78fd54c11e06922c3c8 /nixos/modules/system/boot/default.nix
parent4eba57f4e787bf97fe7dcb0e1702723aa08de01d (diff)
,
Diffstat (limited to 'nixos/modules/system/boot/default.nix')
-rw-r--r--nixos/modules/system/boot/default.nix12
1 files changed, 6 insertions, 6 deletions
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