add acer display OC EDID
This commit is contained in:
parent
b03e28e889
commit
5aded84ef9
@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.kernelParams = [ "drm.edid_firmware=DP-3:edid/edid.bin" ];
|
||||
|
||||
hardware.firmware = [
|
||||
(
|
||||
pkgs.runCommand "edid.bin" { } ''
|
||||
mkdir -p $out/lib/firmware/edid
|
||||
cp ${./firmware/KG271-edid.bin} $out/lib/firmware/edid/edid.bin
|
||||
''
|
||||
)];
|
||||
|
||||
|
||||
}
|
||||
BIN
systems/x86_64-linux/drivebystation-nix/firmware/KG271-edid.bin
Executable file
BIN
systems/x86_64-linux/drivebystation-nix/firmware/KG271-edid.bin
Executable file
Binary file not shown.
@ -5,7 +5,9 @@
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
./acer-monitor-edid.nix
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user