diff options
| author | Christian <[email protected]> | 2026-02-12 14:00:50 -0600 |
|---|---|---|
| committer | Christian <[email protected]> | 2026-05-11 21:52:34 -0500 |
| commit | fbc108ce371855fe530f242520d2322eba1484d5 (patch) | |
| tree | fce4206564048f0657d90bb58f1484aee9b27828 /hosts | |
| parent | fa5668fdab887a93629d090dafef1dbadf8e8c0d (diff) | |
Laptop GPU Config
Diffstat (limited to 'hosts')
| -rw-r--r-- | hosts/laptop/hardware-configuration.nix | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/hosts/laptop/hardware-configuration.nix b/hosts/laptop/hardware-configuration.nix index 6ad14c8..42d439a 100644 --- a/hosts/laptop/hardware-configuration.nix +++ b/hosts/laptop/hardware-configuration.nix @@ -19,7 +19,7 @@ "nvme" "rtsx_pci_sdmmc" ]; - boot.initrd.kernelModules = [ ]; + boot.initrd.kernelModules = [ "i915" ]; boot.kernelModules = [ "kvm-intel" ]; boot.extraModulePackages = [ ]; @@ -37,4 +37,13 @@ nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; + + hardware.graphics = { + enable = true; + extraPackages = with pkgs; [ + intel-media-driver + intel-vaapi-driver + libvdpau-va-gl + ]; + }; } |
