From cbb3fd7cb1c705c43a70e59a614667f29a229bac Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Nov 2019 21:41:32 +0100 Subject: optimus prime on sif --- sif.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sif.nix b/sif.nix index b56b0280..5f193a54 100644 --- a/sif.nix +++ b/sif.nix @@ -97,6 +97,8 @@ libinput.enable = true; dpi = 282; + + videoDrivers = [ "intel" "nvidia" ]; }; yggdrasilTinc = { @@ -293,10 +295,10 @@ brightnessctl.enable = true; - bumblebee = { + nvidia.optimus_prime = { enable = true; - group = "video"; - connectDisplay = true; + nvidiaBusId = "PCI:1:0:0"; + intelBusId = "PCI:0:2:0"; }; }; -- cgit v1.2.3