summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix20
1 files changed, 19 insertions, 1 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 952aac8b..5ab15451 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -299,7 +299,16 @@ in {
299 299
300 dpi = 282; 300 dpi = 282;
301 301
302 videoDrivers = [ "intel" ]; 302 videoDrivers = [ "nvidia" ];
303
304 screenSection = ''
305 Option "metamodes" "nvidia-auto-select +0+0 { ForceCompositionPipeline = On }"
306 '';
307
308 deviceSection = ''
309 Option "AccelMethod" "SNA"
310 Option "TearFree" "True"
311 '';
303 312
304 exportConfiguration = true; 313 exportConfiguration = true;
305 }; 314 };
@@ -418,6 +427,15 @@ in {
418 speed = 255; 427 speed = 255;
419 }; 428 };
420 429
430 nvidia = {
431 modesetting.enable = true;
432 prime = {
433 nvidiaBusId = "PCI:1:0:0";
434 intelBusId = "PCI:0:2:0";
435 sync.enable = true;
436 };
437 };
438
421 opengl = { 439 opengl = {
422 enable = true; 440 enable = true;
423 driSupport32Bit = true; 441 driSupport32Bit = true;