From 5025dd2571f1868834c6a176a61b0721bd39280b Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sat, 4 Nov 2023 10:26:23 +0100 Subject: [PATCH] mediabox/kernel: temporary fix for console issue --- mediabox/configuration.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/mediabox/configuration.nix b/mediabox/configuration.nix index 696f891..0979153 100644 --- a/mediabox/configuration.nix +++ b/mediabox/configuration.nix @@ -45,6 +45,19 @@ readOnlyNixStore = true; supportedFilesystems = ["btrfs"]; tmp.useTmpfs = true; + + kernelPatches = let + inherit (lib.kernel) yes; + in [ + { + name = "264832"; + patch = null; + extraStructuredConfig = { + FRAMEBUFFER_CONSOLE_DETECT_PRIMARY = yes; + DRM_FBDEV_EMULATION = yes; + }; + } + ]; }; security = {