From 1da4569b2002fbc2c77b2797f70280b6ca165d98 Mon Sep 17 00:00:00 2001 From: uku Date: Sun, 26 May 2024 10:20:02 +0200 Subject: [PATCH] feat(fuji): switch to nvidia 555 --- configs/common.nix | 2 +- systems/fuji/nvidia.nix | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configs/common.nix b/configs/common.nix index 5158aaa..701989b 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -28,7 +28,7 @@ in { }; boot = { - kernelPackages = pkgs.linuxPackages_latest; + kernelPackages = pkgs.linuxPackages; # use lts kernelParams = ["quiet" "loglevel=3"]; }; diff --git a/systems/fuji/nvidia.nix b/systems/fuji/nvidia.nix index dd24e9e..3d2b37b 100644 --- a/systems/fuji/nvidia.nix +++ b/systems/fuji/nvidia.nix @@ -13,7 +13,7 @@ }; hardware.nvidia = { - package = config.boot.kernelPackages.nvidiaPackages.production; + package = config.boot.kernelPackages.nvidiaPackages.beta; modesetting.enable = true; powerManagement = { enable = true; @@ -27,6 +27,7 @@ hm.wayland.windowManager.hyprland.settings.env = [ "LIBVA_DRIVER_NAME,nvidia" + "XDG_SESSION_TYPE,wayland" "GBM_BACKEND,nvidia-drm" "__GLX_VENDOR_LIBRARY_NAME,nvidia" "__EGL_VENDOR_LIBRARY_FILENAMES,/run/opengl-driver/share/glvnd/egl_vendor.d/10_nvidia.json"