{ pkgs, ... }: { imports = [ ./hardware-configuration.nix ]; environment.variables = { VDPAU_DRIVER = "radeonsi"; QT_MEDIA_BACKED = "gstreamer"; # ffmpeg can't choose between vdpau and vaapi for some reason }; hardware.graphics = { enable = true; enable32Bit = true; extraPackages = with pkgs; [ amdvlk ]; extraPackages32 = with pkgs.driversi686Linux; [ amdvlk ]; }; }