about summary refs log tree commit diff stats
path: root/system/hardware
diff options
context:
space:
mode:
authorene <ene@sils.com>2023-04-03 15:11:11 +0200
committerene <ene@sils.com>2023-04-03 15:12:06 +0200
commit4ce41b607c1c9ab42c7e23556a035c8525f11efb (patch)
tree39ac1c3da218b65caeba4f9975fe93d9b5c5b664 /system/hardware
parentChore(Flake): Update (diff)
downloadnixos-config-4ce41b607c1c9ab42c7e23556a035c8525f11efb.tar.gz
nixos-config-4ce41b607c1c9ab42c7e23556a035c8525f11efb.zip
Feat(system/hardware): Add onlykey support
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
+