add samsung monitor edid kernel param config

This commit is contained in:
2026-02-02 09:59:55 +01:00
parent ddce79071d
commit dd1aa0957e
2 changed files with 15 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
{ config, lib, pkgs, ... }:
{
# boot.kernelParams = [ "drm.edid_firmware=DP-1:edid/edid.bin,DP-2:edid/edid.bin,DP-3:edid/edid.bin,DP-4:edid/edid.bin" ];
boot.kernelParams = [ "drm.edid_firmware=DP-1:edid/edid2.bin" ];
hardware.firmware = [
(
pkgs.runCommand "edid2.bin" { } ''
mkdir -p $out/lib/firmware/edid
cp ${./firmware/U32K59x-edid.bin} $out/lib/firmware/edid/edid2.bin
''
)];
}