From 2784c95d4c4ca1ff8314c59499c12cf030b9170e Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 20 May 2023 23:22:25 +0200 Subject: [PATCH] more gl/vulkan stuff --- common.nix | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/common.nix b/common.nix index 040feb8..ff2d884 100644 --- a/common.nix +++ b/common.nix @@ -260,7 +260,7 @@ in ]; # allow keyboard configure tools to work - services.udev.packages = [ pkgs.qmk-udev-rules pkgs.via ]; + hardware.keyboard.qmk.enable = true; # add ~/bin to PATH environment.homeBinInPath = true; @@ -290,9 +290,20 @@ in }; }; + # 64-bit GL + hardware.opengl.driSupport = true; + # proper lutris gaming for 32-bit stuff hardware.opengl.driSupport32Bit = true; + # extra AMD stuff + hardware.opengl.extraPackages = [ + pkgs.amdvlk + ]; + hardware.opengl.extraPackages32 = [ + pkgs.driversi686Linux.amdvlk + ]; + # Enable the OpenSSH daemon. services.openssh = { enable = true;