mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
10 lines
353 B
Nix
10 lines
353 B
Nix
{
|
|
### NVIDIA-only using MUX switch in BIOS.
|
|
boot.kernelParams = [ "module_blacklist=i915" ];
|
|
services.xserver.displayManager.gdm.wayland = false;
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia.open = true;
|
|
services.xserver.screenSection = ''
|
|
Option "metamodes" "DP-2: 2560x1440_165 +0+0 {AllowGSYNCCompatible=On}"
|
|
'';
|
|
}
|