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"; }; };