summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-11-24 22:05:55 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2019-11-24 22:05:55 +0100
commite68d21ffe53c3860b59b72410e0d763a6590f272 (patch)
tree41edc74fcf6850684ddf5522a06467db1cf88211
parentcbb3fd7cb1c705c43a70e59a614667f29a229bac (diff)
downloadnixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar
nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.gz
nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.bz2
nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.xz
nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.zip
nvidia on sif
-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