move some graphics stuff into individual modules/files
This commit is contained in:
parent
b63db1934d
commit
ddd6ecd055
9 changed files with 31 additions and 16 deletions
|
@ -1,5 +1,6 @@
|
|||
{...}: {
|
||||
imports = [
|
||||
./input.nix
|
||||
./graphics.nix
|
||||
];
|
||||
}
|
||||
|
|
12
hosts/catbook-j/modules/graphics.nix
Normal file
12
hosts/catbook-j/modules/graphics.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue