1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-10-19 03:17:22 +02:00
nixos-hardware/dell/precision/5560/default.nix
2024-09-23 12:48:34 +03:00

25 lines
559 B
Nix

{ lib, ... }:
{
imports = [
../../../common/pc/laptop
../../../common/pc/laptop/ssd
../../../common/cpu/intel
../../../common/gpu/intel/tiger-lake
../../../common/gpu/nvidia/turing
];
hardware.enableRedistributableFirmware = lib.mkDefault true;
boot = {
blacklistedKernelModules = [ "nouveau" ];
kernelModules = [ "kvm-intel" ];
kernelParams = [ "i915.modeset=1" ];
};
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}