Vanguard: enable ROCM/OpenCl support
This commit is contained in:
parent
7fc7335df5
commit
87fc2a2db8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue