From 4ee34fe9f54c0e84b9c4b70feeb74000ee10b17a Mon Sep 17 00:00:00 2001 From: John Ogle Date: Sat, 24 Aug 2024 10:23:44 -0700 Subject: [PATCH] Add proper intel graphics drivers --- machines/nix-book/configuration.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/machines/nix-book/configuration.nix b/machines/nix-book/configuration.nix index 757d999..f1dd96e 100644 --- a/machines/nix-book/configuration.nix +++ b/machines/nix-book/configuration.nix @@ -83,7 +83,15 @@ options = "caps:escape"; }; - hardware.graphics.enable = true; + hardware.graphics = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver + intel-vaapi-driver + libvdpau-va-gl + ]; + }; + hardware.pulseaudio.enable = true; # Define a user account. Don't forget to set a password with ‘passwd’.