forked from nyanloutre/nixos-config
[ASUS] activation Nvidia PRIME
This commit is contained in:
parent
979a00c54e
commit
2dcb9e51f5
2 changed files with 8 additions and 20 deletions
|
@ -12,7 +12,6 @@
|
|||
];
|
||||
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlays/steam.nix)
|
||||
(import ../../overlays/ledger-udev-rules.nix)
|
||||
];
|
||||
|
||||
|
@ -22,7 +21,13 @@
|
|||
boot.tmpOnTmpfs = true;
|
||||
boot.plymouth.enable = true;
|
||||
|
||||
hardware.bumblebee.enable = true;
|
||||
# NVIDIA
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.optimus_prime.enable = true;
|
||||
hardware.nvidia.modesetting.enable = true;
|
||||
hardware.nvidia.optimus_prime.nvidiaBusId = "PCI:1:0:0";
|
||||
hardware.nvidia.optimus_prime.intelBusId = "PCI:0:2:0";
|
||||
|
||||
# For Steam
|
||||
hardware.opengl.driSupport32Bit = true;
|
||||
hardware.pulseaudio.support32Bit = true;
|
||||
|
@ -98,7 +103,7 @@
|
|||
vlc
|
||||
kodiPlain
|
||||
|
||||
steam_primus
|
||||
steam
|
||||
sc-controller
|
||||
steam-run
|
||||
minecraft
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue