added better amdgpu config for mauville

This commit is contained in:
Aly Raffauf 2024-03-07 15:45:26 -05:00
parent b3a3a64d11
commit a855ca5610

View file

@ -27,6 +27,20 @@
options = lib.mkForce "--delete-older-than 14d"; options = lib.mkForce "--delete-older-than 14d";
}; };
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl.extraPackages = with pkgs; [
rocmPackages.clr.icd
];
hardware.opengl.extraPackages = with pkgs; [
amdvlk
];
hardware.opengl.driSupport32Bit = true;
# For 32 bit applications
hardware.opengl.extraPackages32 = with pkgs; [
driversi686Linux.amdvlk
];
services.xserver.displayManager.autoLogin.enable = true; services.xserver.displayManager.autoLogin.enable = true;
services.xserver.displayManager.autoLogin.user = "aly"; services.xserver.displayManager.autoLogin.user = "aly";