From 42577dbb0f75c1288a26864e40da32a0d67de853 Mon Sep 17 00:00:00 2001 From: liamwb Date: Tue, 9 Jul 2024 14:13:07 +1000 Subject: [PATCH] removed parts that are included in other modules --- dell/xps/15-9560/default.nix | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/dell/xps/15-9560/default.nix b/dell/xps/15-9560/default.nix index 18be8fd..d776fa5 100644 --- a/dell/xps/15-9560/default.nix +++ b/dell/xps/15-9560/default.nix @@ -4,30 +4,22 @@ ../../../common/gpu/intel/kaby-lake ../../../common/pc/laptop ./xps-common.nix + ../../../common/gpu/nvidia ]; -# enable opengpl and gpu drivers hardware.opengl = { enable = true; driSupport = true; driSupport32Bit = true; }; - services.xserver.videoDrivers = ["nvidia"]; - hardware.nvidia.modesetting.enable = true; hardware.nvidia.prime = { - offload = { - enable = true; - enableOffloadCmd = true; # provides the nvidia-offload command - }; - -# integrated + # integrated intelBusId = "PCI:0:2:0"; -# dedicated + # dedicated nvidiaBusId = "PCI:1:0:0"; }; - }