mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-08 14:40:19 +02:00
13 lines
274 B
Nix
13 lines
274 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
boot.blacklistedKernelModules = [ "nouveau" ];
|
|
hardware.graphics = {
|
|
enable = true;
|
|
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
|
|
};
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia = {
|
|
open = false;
|
|
};
|
|
}
|