Skip to content

Commit

Permalink
feat: nvidia fixes + driver update
Browse files Browse the repository at this point in the history
  • Loading branch information
standard3 committed Apr 17, 2024
1 parent e4ec259 commit 6ccc0c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions hosts/jupiter/hardware/nvidia.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
extraModprobeConfig = ''
options i915 force_probe=25ac
'';
kernelParams = [ "nvidia.NVreg_PreserveVideoMemoryAllocations=1" ];
};

services.xserver.videoDrivers = ["nvidia"];
services.xserver.videoDrivers = [ "nvidia" ];

hardware = {
opengl = {
Expand All @@ -23,7 +24,7 @@
};

nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.stable;
package = config.boot.kernelPackages.nvidiaPackages.production;

open = false;
nvidiaSettings = true;
Expand All @@ -35,7 +36,7 @@
powerManagement.enable = false;

prime = {
intelBusId = "PCI:0:2:0";
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";

sync.enable = true;
Expand Down

0 comments on commit 6ccc0c7

Please sign in to comment.