summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2022-03-22 10:47:21 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2022-03-22 10:47:21 +0100
commitd6115750e5f6dd8acdbb3dca486f80713c14aaf3 (patch)
tree06154614d030c72a224a7b753eebad9e50ac251c
parent5c22085cfe5101995be14450cbe7fd5c59f2dc74 (diff)
downloadnixos-d6115750e5f6dd8acdbb3dca486f80713c14aaf3.tar
nixos-d6115750e5f6dd8acdbb3dca486f80713c14aaf3.tar.gz
nixos-d6115750e5f6dd8acdbb3dca486f80713c14aaf3.tar.bz2
nixos-d6115750e5f6dd8acdbb3dca486f80713c14aaf3.tar.xz
nixos-d6115750e5f6dd8acdbb3dca486f80713c14aaf3.zip
sif: -nvidia
-rw-r--r--hosts/sif/default.nix20
1 files changed, 1 insertions, 19 deletions
diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix
index 5ab15451..952aac8b 100644
--- a/hosts/sif/default.nix
+++ b/hosts/sif/default.nix
@@ -299,16 +299,7 @@ in {
299 299
300 dpi = 282; 300 dpi = 282;
301 301
302 videoDrivers = [ "nvidia" ]; 302 videoDrivers = [ "intel" ];
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 '';
312 303
313 exportConfiguration = true; 304 exportConfiguration = true;
314 }; 305 };
@@ -427,15 +418,6 @@ in {
427 speed = 255; 418 speed = 255;
428 }; 419 };
429 420
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
439 opengl = { 421 opengl = {
440 enable = true; 422 enable = true;
441 driSupport32Bit = true; 423 driSupport32Bit = true;