mirror of
https://github.com/harryssecret/homelab-nix.git
synced 2025-08-10 07:30:18 +02:00
workstation client should have the default set of needed software
This commit is contained in:
parent
f1604be829
commit
fdee7b7cf3
6 changed files with 75 additions and 20 deletions
13
hosts/workstation/features/hardware/nvidia.nix
Normal file
13
hosts/workstation/features/hardware/nvidia.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
boot.blacklistedKernelModules = [ "nouveau" ];
|
||||
hardware.graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
|
||||
};
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia = {
|
||||
open = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue