add opengl

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-04-13 22:04:23 -04:00 committed by Alice Huston
parent 3fc1292603
commit 5785d24a20
2 changed files with 14 additions and 0 deletions

View File

@ -12,6 +12,7 @@
./pipewire.nix ./pipewire.nix
./fingerprint.nix ./fingerprint.nix
./steam.nix ./steam.nix
./graphics.nix
]; ];
time.timeZone = "America/New_York"; time.timeZone = "America/New_York";

View File

@ -0,0 +1,13 @@
{ config, lib, pkgs, ... }:
{
hardware.opengl = {
## radv: an open-source Vulkan driver from freedesktop
driSupport = true;
driSupport32Bit = true;
## amdvlk: an open-source Vulkan driver from AMD
extraPackages = [ pkgs.amdvlk ];
extraPackages32 = [ pkgs.driversi686Linux.amdvlk ];
};
}