diff --git a/hosts/hape/configuration.nix b/hosts/hape/configuration.nix index bb272b4..c2bb5c0 100644 --- a/hosts/hape/configuration.nix +++ b/hosts/hape/configuration.nix @@ -1,8 +1,11 @@ { config, + lib, pkgs, ... -}: { +}: let + inherit (lib.attrsets) attrValues; +in { nixpkgs.config = { permittedInsecurePackages = [ "olm-3.2.16" @@ -33,8 +36,22 @@ hardware.graphics = { enable = true; - driSupport = true; enable32Bit = true; + extraPackages = attrValues { + inherit (pkgs) + mesa + libdrm + libva + vaapiVdpau + libvdpau-va-gl + ; + }; + extraPackages32 = attrValues { + inherit (pkgs.driversi686Linux) + mesa + libvdpau-va-gl + ; + }; }; services.journald = {