From 58ab5ad884af260dd750866380ef98d784892a83 Mon Sep 17 00:00:00 2001 From: Simon Bruder Date: Tue, 10 Jan 2023 17:42:14 +0100 Subject: [PATCH] mayushii: Work around broken DP Alt Mode hotplug This only downgrades the kernel, so that is not a long term option, but at least makes it possible to not reboot twice a day or so. --- machines/mayushii/hardware-configuration.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/machines/mayushii/hardware-configuration.nix b/machines/mayushii/hardware-configuration.nix index d6a74ec..54f7f75 100644 --- a/machines/mayushii/hardware-configuration.nix +++ b/machines/mayushii/hardware-configuration.nix @@ -7,6 +7,9 @@ boot = { kernelModules = [ "kvm-amd" ]; + # Workaround for DP Alt Mode hotplug not working in kernel (https://git.sbruder.de/simon/nixos-config/issues/69). + # requires mkForce because of nixos-hardware setting it to linuxPackages_latst + kernelPackages = lib.mkForce pkgs.linuxPackages_6_0; loader = { grub.enable = false; systemd-boot.enable = true;