dotfiles/modules/nvgpu.sys.nix

8 lines
244 B
Nix
Raw Normal View History

2023-01-12 17:50:46 +00:00
{config,...}: {
imports = [./gpu.sys.nix];
nixpkgs.config.allowUnfree = true;
services.xserver.enable = true;
services.xserver.videoDrivers = [ "nvidia" ];
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
}