mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-19 01:19:42 +01:00
22 lines
477 B
Nix
22 lines
477 B
Nix
|
{ lib, pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
imports = [
|
||
|
../../common/cpu/amd
|
||
|
../../common/cpu/amd/raphael/igpu.nix
|
||
|
../../common/cpu/amd/pstate.nix
|
||
|
../../common/gpu/nvidia
|
||
|
../../common/gpu/nvidia/prime-sync.nix
|
||
|
../../common/hidpi.nix
|
||
|
../../common/pc/laptop
|
||
|
../../common/pc/ssd
|
||
|
];
|
||
|
|
||
|
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||
|
|
||
|
hardware.nvidia.prime = {
|
||
|
amdgpuBusId = "PCI:54:0:0";
|
||
|
nvidiaBusId = "PCI:1:0:0";
|
||
|
};
|
||
|
}
|