mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
switch to amd gpu for workstation
This commit is contained in:
parent
7f52e5db5d
commit
752e0ffc71
1 changed files with 4 additions and 9 deletions
|
|
@ -22,9 +22,6 @@
|
||||||
vulkan-extension-layer
|
vulkan-extension-layer
|
||||||
glxinfo
|
glxinfo
|
||||||
mesa
|
mesa
|
||||||
|
|
||||||
#cudaPackages.cudatoolkit
|
|
||||||
#cudaPackages.cudnn
|
|
||||||
];
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
|
|
@ -67,12 +64,10 @@
|
||||||
updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nvidia = {
|
amdgpu = {
|
||||||
open = true;
|
initrd.enable = true;
|
||||||
modesetting.enable = true;
|
amdvlk.enable = true;
|
||||||
};
|
opencl.enable = true;
|
||||||
graphics = {
|
|
||||||
enable = true;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue