dotfiles/modules/gpu.sys.nix

13 lines
379 B
Nix
Raw Normal View History

2023-06-18 00:46:31 +00:00
{pkgs, ...}: {
environment.systemPackages = [pkgs.clinfo pkgs.lshw pkgs.glxinfo pkgs.pciutils pkgs.vulkan-tools];
2023-01-12 17:50:46 +00:00
hardware.opengl = {
enable = true;
2023-06-18 00:46:31 +00:00
extraPackages = [pkgs.rocm-opencl-icd pkgs.rocm-opencl-runtime];
2023-01-12 17:50:46 +00:00
# Vulkan
driSupport = true;
driSupport32Bit = true;
package = pkgs.mesa.drivers;
package32 = pkgs.pkgsi686Linux.mesa.drivers;
};
}