update graphics config on hape
This commit is contained in:
parent
c7cb650a53
commit
44b0e572c7
1 changed files with 19 additions and 2 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue