2023-08-18 06:33:16 -04:00
|
|
|
# Including this file will enable the AMD-GPU driver
|
|
|
|
|
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
|
|
|
|
let
|
|
|
|
inherit (lib) mkDefault;
|
|
|
|
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../shared.nix
|
2024-06-21 17:26:44 -04:00
|
|
|
../../../../../common/gpu/24.05-compat.nix
|
2023-08-18 06:33:16 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
# AMD RX680
|
|
|
|
services.xserver.videoDrivers = mkDefault [ "amdgpu" ];
|
|
|
|
|
|
|
|
hardware = {
|
|
|
|
amdgpu.loadInInitrd = true;
|
2024-06-21 09:44:42 -04:00
|
|
|
graphics.extraPackages = with pkgs; [
|
2023-08-18 06:33:16 -04:00
|
|
|
vaapiVdpau
|
|
|
|
libvdpau-va-gl
|
|
|
|
];
|
|
|
|
};
|
|
|
|
}
|