Skip to content

Commit

Permalink
fix(nvidia): disabled nouveau driver
Browse files Browse the repository at this point in the history
  • Loading branch information
Wittano committed Jun 21, 2024
1 parent ff3b76f commit dbad3bd
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 18 deletions.
36 changes: 18 additions & 18 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions modules/hardware/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ in

services.xserver.videoDrivers = mkIf config.services.xserver.enable [ "nvidia" ];

boot.blacklistedKernelModules = [ "nouveau" ];

environment.sessionVariables.VK_DRIVER_FILES = "/run/opengl-driver/share/vulkan/icd.d/nvidia_icd.x86_64.json";

hardware = {
opengl = {
enable = true;
Expand Down

0 comments on commit dbad3bd

Please sign in to comment.