about summary refs log tree commit diff stats
path: root/system/hardware
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/hardware/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/system/hardware/default.nix b/system/hardware/default.nix
new file mode 100644
index 00000000..f41ba756
--- /dev/null
+++ b/system/hardware/default.nix
@@ -0,0 +1,21 @@
+{
+  config,
+  pkgs,
+  ...
+}: {
+  hardware = {
+    onlykey.enable = true;
+    opengl = {
+      enable = true;
+      extraPackages = builtins.attrValues {
+        inherit
+          (pkgs)
+          vaapiVdpau
+          libvdpau-va-gl
+          ;
+      };
+    };
+  };
+}
+# vim: ts=2
+