feat: abstract out gpu elements

This commit is contained in:
Infinidoge 2021-09-28 13:50:06 -04:00
parent 7bc0a2c88b
commit 340c5d6f25
5 changed files with 24 additions and 6 deletions

View file

@ -0,0 +1,12 @@
{ pkgs, ... }: {
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
];
};
}