From e68d21ffe53c3860b59b72410e0d763a6590f272 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Nov 2019 22:05:55 +0100 Subject: nvidia on sif --- sif.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sif.nix b/sif.nix index 5f193a54..36afeca2 100644 --- a/sif.nix +++ b/sif.nix @@ -295,10 +295,14 @@ brightnessctl.enable = true; - nvidia.optimus_prime = { - enable = true; - nvidiaBusId = "PCI:1:0:0"; - intelBusId = "PCI:0:2:0"; + nvidia = { + modesetting.enable = true; + + optimus_prime = { + enable = true; + nvidiaBusId = "PCI:1:0:0"; + intelBusId = "PCI:0:2:0"; + }; }; }; -- cgit v1.2.3