summaryrefslogtreecommitdiff
path: root/sif.nix
diff options
context:
space:
mode:
Diffstat (limited to 'sif.nix')
-rw-r--r--sif.nix14
1 files changed, 8 insertions, 6 deletions
diff --git a/sif.nix b/sif.nix
index 7d375d98..c9ae4617 100644
--- a/sif.nix
+++ b/sif.nix
@@ -125,7 +125,7 @@
125 125
126 dpi = 282; 126 dpi = 282;
127 127
128 videoDrivers = [ "intel" "nvidiaBeta" ]; 128 videoDrivers = [ "nvidiaBeta" ];
129 129
130 screenSection = '' 130 screenSection = ''
131 Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }" 131 Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
@@ -330,11 +330,13 @@
330 330
331 nvidia = { 331 nvidia = {
332 modesetting.enable = true; 332 modesetting.enable = true;
333 optimus_prime = { 333 prime = {
334 enable = true; 334 enable = true;
335 nvidiaBusId = "PCI:1:0.0"; 335 nvidiaBusId = "PCI:1:0.0";
336 intelBusId = "PCI:0:2.0"; 336 intelBusId = "PCI:0:2.0";
337 }; 337 offload.enable = true;
338 sync.enable = true;
339 };
338 }; 340 };
339 341
340 opengl.driSupport32Bit = true; 342 opengl.driSupport32Bit = true;