NVIDIA: Difference between revisions
fix links |
Update configuration file with comment |
||
Line 48: | Line 48: | ||
}; | }; | ||
# Load nvidia driver for Xorg and Wayland | # Load "nvidia" driver for Xorg and Wayland | ||
# Or if you have an older card, you may have to use | |||
# one of the legacy drivers: | |||
# "nvidiaLegacy390", "nvidiaLegacy340", "nvidiaLegacy304" | |||
# Source: https://nixos.org/manual/nixos/stable/#sec-x11-graphics-cards-nvidia | |||
services.xserver.videoDrivers = ["nvidia"]; | services.xserver.videoDrivers = ["nvidia"]; | ||