try fixing opengl

This commit is contained in:
zoe 2023-07-27 13:46:27 +02:00
parent 86b35c7bf9
commit 389c97f7c7
2 changed files with 7 additions and 8 deletions

View File

@ -1,7 +1,3 @@
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ pkgs, ... }: { { pkgs, ... }: {
imports = [ imports = [
<home-manager/nixos> <home-manager/nixos>
@ -37,16 +33,18 @@
opengl = { opengl = {
enable = true; enable = true;
driSupport = true; driSupport = true;
extraPackages32 = with pkgs; driSupport32Bit = true;
[ extraPackages32 = with pkgs; [
vaapiIntel intel-media-driver
vaapiIntel
]; ];
extraPackages = with pkgs; [ extraPackages = with pkgs; [
intel-media-driver intel-media-driver
vaapiIntel vaapiIntel
vaapiVdpau vaapiVdpau
libvdpau-va-gl libvdpau-va-gl
mesa.drivers
]; ];
}; };
}; };

View File

@ -199,6 +199,7 @@ in {
nix-index nix-index
# system tools # system tools
mesa-demos
wl-clipboard wl-clipboard
jq jq
eva eva