Created
January 24, 2020 16:55
-
-
Save adrianparvino/7498ef94546971ee5faf5d05ae044438 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nesting.clone = [{ | |
hardware.nvidiaOptimus.disable = lib.mkForce false; | |
hardware.nvidia.modesetting.enable = true; | |
hardware.nvidia.prime = { | |
sync.enable = true; | |
nvidiaBusId = "PCI:1:0:0"; | |
intelBusId = "PCI:0:2:0"; | |
}; | |
services.xserver = { | |
videoDrivers = [ "nvidiaBeta" ]; | |
deviceSection = '' | |
Option "Coolbits" "28" | |
''; | |
}; | |
}]; | |
hardware.nvidiaOptimus.disable = true; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment