fix: use hyprland nvidia override for desktop

This commit is contained in:
Nickolaj Jepsen 2025-03-12 16:41:46 +01:00
parent b7aaa02a50
commit 81ca8f2403

View file

@ -19,4 +19,14 @@
# To fix https://forums.developer.nvidia.com/t/ubuntu-24-04-unable-to-change-power-state-from-d3cold-to-d0-device-inaccessible/304459 # To fix https://forums.developer.nvidia.com/t/ubuntu-24-04-unable-to-change-power-state-from-d3cold-to-d0-device-inaccessible/304459
boot.kernelPackages = pkgs.linuxPackages_6_12; boot.kernelPackages = pkgs.linuxPackages_6_12;
fireproof.home-manager.wayland.windowManager.hyprland.settings = {
env = [
"LIBVA_DRIVER_NAME,nvidia"
"__GLX_VENDOR_LIBRARY_NAME,nvidia"
"NVD_BACKEND,direct"
];
cursor.no_hardware_cursors = true;
};
} }