mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -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
|
||||
glxinfo
|
||||
mesa
|
||||
|
||||
#cudaPackages.cudatoolkit
|
||||
#cudaPackages.cudnn
|
||||
];
|
||||
|
||||
fileSystems = {
|
||||
|
|
@ -67,12 +64,10 @@
|
|||
updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
};
|
||||
};
|
||||
nvidia = {
|
||||
open = true;
|
||||
modesetting.enable = true;
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
amdgpu = {
|
||||
initrd.enable = true;
|
||||
amdvlk.enable = true;
|
||||
opencl.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue