summaryrefslogtreecommitdiff
path: root/modules/hardware/graphics.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hardware/graphics.nix')
-rw-r--r--modules/hardware/graphics.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/hardware/graphics.nix b/modules/hardware/graphics.nix
new file mode 100644
index 0000000..ae9d2fc
--- /dev/null
+++ b/modules/hardware/graphics.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }:
+{
+ hardware.graphics = {
+ enable = true;
+ enable32Bit = true;
+ extraPackages = with pkgs; [ nvidia-vaapi-driver ];
+ };
+}