mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-07 22:20:33 +02:00
17 lines
336 B
Nix
17 lines
336 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
environment.systemPackages = with pkgs; [
|
|
glxinfo
|
|
];
|
|
|
|
boot.blacklistedKernelModules = [ "nouveau" ];
|
|
hardware.graphics = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
|
|
};
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia = {
|
|
open = false;
|
|
};
|
|
}
|