Browse Source

BUGFIX! NVIDIA drivers working again!

main
parent
commit
942e706775
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 5
      README.org
  2. 5
      modules/nvidia.nix

5
README.org

@ -1203,7 +1203,7 @@ This reveals the information needed, which is the information about the two disp
+ NVIDIA GP107M :: This is the /mobile/ version of the GTX 1050ti + NVIDIA GP107M :: This is the /mobile/ version of the GTX 1050ti
#+BEGIN_SRC nix :noweb yes :tangle modules/nvidia.nix #+BEGIN_SRC nix :noweb yes :tangle modules/nvidia.nix
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:
let let
myIntelBusId = "PCI:0:2:0"; myIntelBusId = "PCI:0:2:0";
@ -1217,6 +1217,9 @@ let
''; '';
in { in {
# Blacklist the open source driver.
boot.blacklistedKernelModules = [ "nouveau" ];
# Add the offload script to the $PATH. # Add the offload script to the $PATH.
environment.systemPackages = [ myNvidiaOffload ]; environment.systemPackages = [ myNvidiaOffload ];

5
modules/nvidia.nix

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ lib, config, pkgs, ... }:
let let
myIntelBusId = "PCI:0:2:0"; myIntelBusId = "PCI:0:2:0";
@ -12,6 +12,9 @@ let
''; '';
in { in {
# Blacklist the open source driver.
boot.blacklistedKernelModules = [ "nouveau" ];
# Add the offload script to the $PATH. # Add the offload script to the $PATH.
environment.systemPackages = [ myNvidiaOffload ]; environment.systemPackages = [ myNvidiaOffload ];

Loading…
Cancel
Save