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]; 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 = { services = {
libinput.enable = true; libinput.enable = true;

View file

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