update graphics config on hape

This commit is contained in:
jacekpoz 2024-08-30 11:00:28 +02:00
parent c7cb650a53
commit 44b0e572c7
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -1,8 +1,11 @@
{ {
config, config,
lib,
pkgs, pkgs,
... ...
}: { }: let
inherit (lib.attrsets) attrValues;
in {
nixpkgs.config = { nixpkgs.config = {
permittedInsecurePackages = [ permittedInsecurePackages = [
"olm-3.2.16" "olm-3.2.16"
@ -33,8 +36,22 @@
hardware.graphics = { hardware.graphics = {
enable = true; enable = true;
driSupport = true;
enable32Bit = 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 = { services.journald = {