diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-22 17:35:26 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2022-03-22 17:35:26 +0100 |
commit | 6b64b0250cbcbca3eb94d43c6c38e725338e02c1 (patch) | |
tree | fa294fa270deffc79fa9e235ffb7d8ae5e1091ec /hosts/sif/default.nix | |
parent | d6115750e5f6dd8acdbb3dca486f80713c14aaf3 (diff) | |
download | nixos-6b64b0250cbcbca3eb94d43c6c38e725338e02c1.tar nixos-6b64b0250cbcbca3eb94d43c6c38e725338e02c1.tar.gz nixos-6b64b0250cbcbca3eb94d43c6c38e725338e02c1.tar.bz2 nixos-6b64b0250cbcbca3eb94d43c6c38e725338e02c1.tar.xz nixos-6b64b0250cbcbca3eb94d43c6c38e725338e02c1.zip |
Revert "sif: -nvidia"
This reverts commit d6115750e5f6dd8acdbb3dca486f80713c14aaf3.
Diffstat (limited to 'hosts/sif/default.nix')
-rw-r--r-- | hosts/sif/default.nix | 20 |
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; |