move some graphics stuff into individual modules/files

This commit is contained in:
Schrottkatze 2024-08-01 08:37:19 +02:00
commit ddd6ecd055
No known key found for this signature in database
9 changed files with 31 additions and 16 deletions

View file

@ -1,5 +1,6 @@
{...}: {
imports = [
./input.nix
./graphics.nix
];
}

View file

@ -0,0 +1,12 @@
{pkgs, ...}: {
hardware.graphics = {
extraPackages = with pkgs; [
intel-ocl
intel-media-driver
intel-vaapi-driver
intel-compute-runtime
libvdpau-va-gl
mesa.drivers
];
};
}