lab-infra/machines/krz01/nvidia-tesla-k80.nix

9 lines
260 B
Nix
Raw Permalink Normal View History

2024-10-12 00:20:58 +02:00
{ config, ... }:
{
nixpkgs.config.nvidia.acceptLicense = true;
# Tesla K80 is not supported by the latest driver.
hardware.nvidia.package = config.boot.kernelPackages.nvidia_x11_legacy470;
# Don't ask.
services.xserver.videoDrivers = [ "nvidia" ];
}