diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-24 22:05:55 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2019-11-24 22:05:55 +0100 |
commit | e68d21ffe53c3860b59b72410e0d763a6590f272 (patch) | |
tree | 41edc74fcf6850684ddf5522a06467db1cf88211 /sif.nix | |
parent | cbb3fd7cb1c705c43a70e59a614667f29a229bac (diff) | |
download | nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.gz nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.bz2 nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.tar.xz nixos-e68d21ffe53c3860b59b72410e0d763a6590f272.zip |
nvidia on sif
Diffstat (limited to 'sif.nix')
-rw-r--r-- | sif.nix | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -295,10 +295,14 @@ | |||
295 | 295 | ||
296 | brightnessctl.enable = true; | 296 | brightnessctl.enable = true; |
297 | 297 | ||
298 | nvidia.optimus_prime = { | 298 | nvidia = { |
299 | enable = true; | 299 | modesetting.enable = true; |
300 | nvidiaBusId = "PCI:1:0:0"; | 300 | |
301 | intelBusId = "PCI:0:2:0"; | 301 | optimus_prime = { |
302 | enable = true; | ||
303 | nvidiaBusId = "PCI:1:0:0"; | ||
304 | intelBusId = "PCI:0:2:0"; | ||
305 | }; | ||
302 | }; | 306 | }; |
303 | }; | 307 | }; |
304 | 308 | ||