mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 21:13:30 +01:00
Merge #551
551: Fix conflict to https://github.com/NixOS/nixpkgs/commit/2a7130d13a032093f5394ef0961842d1e1928789 r=Mic92 a=LostAttractor Co-authored-by: ChaosAttractor <lostattractor@gmail.com>
This commit is contained in:
commit
299fe76828
2 files changed
+1
-2
No files matched your search
@@ -22,7 +22,6 @@
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.12") (lib.mkDefault pkgs.linuxPackages_latest);
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = lib.mkDefault true;
|
||||
amdgpuBusId = "PCI:5:0:0";
|
||||
nvidiaBusId = "PCI:1:0:1";
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@ in {
|
||||
environment.systemPackages = [ nvidia-offload ];
|
||||
|
||||
hardware.nvidia.prime = {
|
||||
offload.enable = lib.mkDefault true;
|
||||
offload.enable = lib.mkOverride 990 true;
|
||||
# Hardware should specify the bus ID for intel/nvidia devices
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user