dotfiles/modules/nvgpu.sys.nix

8 lines
243 B
Nix
Raw Normal View History

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