From 389c97f7c7fcad2aa3f8fd04cb77bc694e7d9620 Mon Sep 17 00:00:00 2001 From: zoe Date: Thu, 27 Jul 2023 13:46:27 +0200 Subject: [PATCH] try fixing opengl --- configuration.nix | 14 ++++++-------- user.nix | 1 + 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/configuration.nix b/configuration.nix index 56b08c6..b5abd15 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = [ @@ -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 ]; }; }; diff --git a/user.nix b/user.nix index c250563..599b75b 100644 --- a/user.nix +++ b/user.nix @@ -199,6 +199,7 @@ in { nix-index # system tools + mesa-demos wl-clipboard jq eva