2024-08-11 14:51:55 -05:00
|
|
|
{ pkgs, ... }:
|
2024-05-03 14:35:00 -05:00
|
|
|
{
|
2024-08-11 14:51:55 -05:00
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
hardware = {
|
|
|
|
enableRedistributableFirmware = true;
|
|
|
|
graphics = {
|
|
|
|
enable = true;
|
|
|
|
extraPackages = with pkgs; [
|
|
|
|
intel-media-driver
|
|
|
|
intel-vaapi-driver
|
|
|
|
libvdpau
|
|
|
|
];
|
|
|
|
};
|
|
|
|
nvidia = {
|
|
|
|
modesetting.enable = true;
|
|
|
|
nvidiaSettings = true;
|
|
|
|
open = true;
|
|
|
|
prime = {
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2024-05-03 14:35:00 -05:00
|
|
|
}
|