feat: move amdgpu-specific config to its own role, since i now also have nvidia systems

This commit is contained in:
Ahwx 2025-03-24 09:24:17 +01:00
parent 2a03321fa7
commit 5da047a5c9
3 changed files with 33 additions and 15 deletions

View file

@ -1,18 +1,3 @@
{ pkgs, ... }:
{
hardware = {
graphics = {
enable = true;
};
enableRedistributableFirmware = true;
opengl = {
extraPackages = with pkgs; [
amdvlk
];
# For 32 bit applications as well
extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
};
};
}