mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
14 lines
472 B
Nix
14 lines
472 B
Nix
{ config, ... }:
|
|
{
|
|
# NVIDIA-only using MUX switch in BIOS.
|
|
environment.variables.MUTTER_DEBUG_FORCE_KMS_MODE = "simple";
|
|
hardware.nvidia.modesetting.enable = true;
|
|
hardware.nvidia.open = false;
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
# Nvidia driver 555 is significant for wayland support.
|
|
# Currently version 555 is beta.
|
|
hardware.nvidia.package = builtins.trace
|
|
"Using beta nvidia driver"
|
|
config.boot.kernelPackages.nvidiaPackages.beta;
|
|
}
|