feat(laptop): add intel gpu drivers

This commit is contained in:
uku 2024-12-18 16:03:46 +01:00
parent 6e32590820
commit 0ff6938411
Signed by: uku
SSH key fingerprint: SHA256:4P0aN6M8ajKukNi6aPOaX0LacanGYtlfjmN+m/sHY/o
2 changed files with 16 additions and 13 deletions

View file

@ -6,7 +6,21 @@
}: {
imports = [./desktop.nix];
hardware.bluetooth.enable = true;
boot.initrd.kernelModules = ["xe"];
hardware = {
bluetooth.enable = true;
graphics = {
extraPackages = with pkgs; [
intel-media-driver
intel-compute-runtime
vpl-gpu-rt
];
extraPackages32 = [pkgs.driversi686Linux.intel-media-driver];
};
};
services = {
libinput.enable = true;

View file

@ -1,8 +1,4 @@
{
pkgs,
camasca,
...
}: {
{camasca, ...}: {
imports = [
camasca.nixosModules.asus-numpad
../../programs/games.nix
@ -14,11 +10,4 @@
enable = true;
settings.layout = "M433IA";
};
boot = {
initrd.kernelModules = ["i915"];
kernelParams = ["i915.force_probe=9a49"];
};
hardware.graphics.extraPackages = with pkgs; [vaapiIntel libvdpau-va-gl intel-media-driver];
}