hibernation works now

This commit is contained in:
2024-11-26 14:37:36 +01:00
parent 7645da455e
commit 83db3ded50
10 changed files with 328 additions and 35 deletions

View File

@@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
boot.kernelParams = [ "drm.edid_firmware=DP-6: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
''
)];
}