1
0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-06-02 11:03:33 +02:00

update to specify nvidia prime.nix

This commit is contained in:
Raymond Dean 2024-01-13 02:17:06 -05:00 committed by GitHub
parent 03b4230afd
commit 694d9abf67
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@
imports = [
../../common/cpu/amd
../../common/gpu/amd
../../common/gpu/nvidia
../../common/gpu/nvidia/prime.nix
../../common/pc/laptop
];
# These are the BusID's for this device.
@ -15,7 +15,6 @@
package = lib.mkDefault config.boot.kernelPackages.nvidiaPackages.stable;
nvidiaSettings = lib.mkDefault true;
prime = {
offload.enable = lib.mkForce true;
amdgpuBusId = "PCI:6:0:0";
nvidiaBusId = "PCI:1:0:0";
};