diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2020-02-08 22:59:05 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2020-02-08 22:59:05 +0100 |
commit | c400508a276560dd6c9c2e2bd2c93d60be96d7b1 (patch) | |
tree | ffcce2ccd30c22483ef53bca05cae17a343344f1 /sif.nix | |
parent | fadab4e5c3488fd4552860ed50885d5acb5e635d (diff) | |
download | nixos-c400508a276560dd6c9c2e2bd2c93d60be96d7b1.tar nixos-c400508a276560dd6c9c2e2bd2c93d60be96d7b1.tar.gz nixos-c400508a276560dd6c9c2e2bd2c93d60be96d7b1.tar.bz2 nixos-c400508a276560dd6c9c2e2bd2c93d60be96d7b1.tar.xz nixos-c400508a276560dd6c9c2e2bd2c93d60be96d7b1.zip |
...
Diffstat (limited to 'sif.nix')
-rw-r--r-- | sif.nix | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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; |