Test reverse sync
This commit is contained in:
parent
ea3c4a9be8
commit
244ab4c770
1 changed files with 9 additions and 9 deletions
|
@ -28,20 +28,20 @@
|
||||||
# Enable nVidia PRIME Render Offload and OpenGL
|
# Enable nVidia PRIME Render Offload and OpenGL
|
||||||
# https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/p1/3th-gen/nvidia.nix
|
# https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/p1/3th-gen/nvidia.nix
|
||||||
hardware = {
|
hardware = {
|
||||||
nvidia.modesetting.enable = true;
|
|
||||||
opengl.enable = true;
|
opengl.enable = true;
|
||||||
opengl.driSupport32Bit = true;
|
opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
nvidia.powerManagement.enable = true;
|
nvidia = {
|
||||||
|
open = false;
|
||||||
nvidia.prime = {
|
powerManagement.enable = true;
|
||||||
# sync.enable = true;
|
modesetting.enable = true;
|
||||||
offload.enable = true;
|
prime = {
|
||||||
offload.enableOffloadCmd = true;
|
reverseSync = true;
|
||||||
intelBusId = lib.mkDefault "PCI:0:2:0";
|
intelBusId = lib.mkDefault "PCI:0:2:0";
|
||||||
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
# Fingerprint software
|
# Fingerprint software
|
||||||
|
|
Loading…
Reference in a new issue