From 244ab4c7701fdaeaee20bb5380a59e3f358274e3 Mon Sep 17 00:00:00 2001 From: iFargle Date: Wed, 12 Jul 2023 15:29:53 +0900 Subject: [PATCH] Test reverse sync --- hosts/nixos-laptop/configuration.nix | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/hosts/nixos-laptop/configuration.nix b/hosts/nixos-laptop/configuration.nix index b7900cdd..73c5c816 100644 --- a/hosts/nixos-laptop/configuration.nix +++ b/hosts/nixos-laptop/configuration.nix @@ -28,18 +28,18 @@ # Enable nVidia PRIME Render Offload and OpenGL # https://github.com/NixOS/nixos-hardware/blob/master/lenovo/thinkpad/p1/3th-gen/nvidia.nix hardware = { - nvidia.modesetting.enable = true; opengl.enable = true; opengl.driSupport32Bit = true; - nvidia.powerManagement.enable = true; - - nvidia.prime = { - # sync.enable = true; - offload.enable = true; - offload.enableOffloadCmd = true; - intelBusId = lib.mkDefault "PCI:0:2:0"; - nvidiaBusId = lib.mkDefault "PCI:1:0:0"; + nvidia = { + open = false; + powerManagement.enable = true; + modesetting.enable = true; + prime = { + reverseSync = true; + intelBusId = lib.mkDefault "PCI:0:2:0"; + nvidiaBusId = lib.mkDefault "PCI:1:0:0"; + }; }; };