Vanguard: enable ROCM/OpenCl support
This commit is contained in:
parent
7fc7335df5
commit
87fc2a2db8
|
@ -6,6 +6,7 @@
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
imports = [ ./desktop.nix ];
|
imports = [ ./desktop.nix ];
|
||||||
|
nixpkgs.config.rocmSupport = true;
|
||||||
environment.sessionVariables.MANGOHUD = 1;
|
environment.sessionVariables.MANGOHUD = 1;
|
||||||
home-manager.users.${username} = {
|
home-manager.users.${username} = {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -58,7 +59,10 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
hardware = {
|
hardware = {
|
||||||
amdgpu.initrd.enable = true;
|
amdgpu = {
|
||||||
|
initrd.enable = true;
|
||||||
|
opencl.enable = true;
|
||||||
|
};
|
||||||
opengl = {
|
opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
|
|
Loading…
Reference in a new issue