Vanguard: enable ROCM/OpenCl support

This commit is contained in:
Evie Litherland-Smith 2024-10-08 07:07:25 +01:00
parent 7fc7335df5
commit 87fc2a2db8

View file

@ -6,6 +6,7 @@
}:
{
imports = [ ./desktop.nix ];
nixpkgs.config.rocmSupport = true;
environment.sessionVariables.MANGOHUD = 1;
home-manager.users.${username} = {
home.packages = with pkgs; [
@ -58,7 +59,10 @@
'';
};
hardware = {
amdgpu.initrd.enable = true;
amdgpu = {
initrd.enable = true;
opencl.enable = true;
};
opengl = {
enable = true;
driSupport = true;