summaryrefslogtreecommitdiff
path: root/modules/hardware/graphics.nix
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-08-28 20:36:04 -0700
committerFuwn <[email protected]>2024-08-28 20:36:04 -0700
commitf3c31e4ad7fab36e151f3a2e207fafb1eda1a787 (patch)
treee265a1a5270b4522049110b8bc5aa13fda142c2f /modules/hardware/graphics.nix
parentmany (diff)
downloadnixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.tar.xz
nixos-config-f3c31e4ad7fab36e151f3a2e207fafb1eda1a787.zip
hi
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 ];
+ };
+}