config for nvidia on thinkpad hopefully
This commit is contained in:
parent
ffacc99a42
commit
7c08c944d7
1 changed files with 14 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }: {
|
||||
{ config, pkgs, ... }: {
|
||||
imports = [
|
||||
./options.nix
|
||||
];
|
||||
|
@ -59,6 +59,19 @@
|
|||
enableAllFirmware = true;
|
||||
cpu.intel.updateMicrocode = true;
|
||||
|
||||
nvidia = {
|
||||
modesetting.enable = true;
|
||||
nvidiaSettings = false;
|
||||
package = config.boot.kernelPackages.nvidiaPackages.legacy_470;
|
||||
|
||||
prime = {
|
||||
intelBusId = "PCI:0:2:0";
|
||||
nvidiaBusId = "PCI:1:0:0";
|
||||
|
||||
sync.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue