summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sif.nix12
1 files 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 @@
295 295
296 brightnessctl.enable = true; 296 brightnessctl.enable = true;
297 297
298 nvidia.optimus_prime = { 298 nvidia = {
299 enable = true; 299 modesetting.enable = true;
300 nvidiaBusId = "PCI:1:0:0"; 300
301 intelBusId = "PCI:0:2:0"; 301 optimus_prime = {
302 enable = true;
303 nvidiaBusId = "PCI:1:0:0";
304 intelBusId = "PCI:0:2:0";
305 };
302 }; 306 };
303 }; 307 };
304 308