From 5c89c01e4723cef3731c0e1742768d73e274b842 Mon Sep 17 00:00:00 2001 From: Erwin Boskma Date: Wed, 18 Sep 2024 16:13:36 +0200 Subject: [PATCH] mimir: Stay on Linux 6.10 for now, due to issues with NVIDIA driver --- machines/mimir/configuration.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/machines/mimir/configuration.nix b/machines/mimir/configuration.nix index 6ec880b..2a58ff8 100644 --- a/machines/mimir/configuration.nix +++ b/machines/mimir/configuration.nix @@ -146,7 +146,7 @@ # Use the systemd-boot EFI boot loader. boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages_6_10; initrd = { availableKernelModules = [ "nvme" @@ -163,7 +163,6 @@ "apple-mfi-fastcharge" "zenpower" ]; - kernelParams = [ "nvidia_drm.fbdev=1" ]; extraModulePackages = with config.boot.kernelPackages; [ zenpower cpupower @@ -476,6 +475,8 @@ sessionVariables = { WLR_NO_HARDWARE_CURSORS = "1"; + GBM_BACKEND = "nvidia-drm"; + __GLX_VENDOR_LIBRARY_NAME = "nvidia"; }; };