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, ... }: {
imports = [
<home-manager/nixos>
@ -37,16 +33,18 @@
opengl = {
enable = true;
driSupport = true;
extraPackages32 = with pkgs;
[
vaapiIntel
driSupport32Bit = true;
extraPackages32 = with pkgs; [
intel-media-driver
vaapiIntel
];
];
extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
vaapiVdpau
libvdpau-va-gl
mesa.drivers
];
};
};

View File

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