Skip to content

Commit

Permalink
desktop: Update graphics drivers according to wiki
Browse files Browse the repository at this point in the history
  • Loading branch information
juanibiapina committed Nov 28, 2024
1 parent e90beb3 commit 6d70e3d
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions nix/hosts/desktop/configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -231,13 +231,16 @@
wrapperFeatures.gtk = true;
};

hardware.graphics = {
# radv: an open-source Vulkan driver from freedesktop
enable32Bit = true;
hardware = {
graphics = {
enable = true;
enable32Bit = true;
};

# amdvlk: an open-source Vulkan driver from AMD
extraPackages = [ pkgs.amdvlk ];
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
amdgpu.amdvlk = {
enable = true;
support32Bit.enable = true;
};
};

# Environment variables
Expand Down

0 comments on commit 6d70e3d

Please sign in to comment.