summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.nix13
1 files changed, 12 insertions, 1 deletions
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;