Way too massive refactoring
This commit is contained in:
parent
113d68be68
commit
24aac9708b
49 changed files with 481 additions and 407 deletions
17
shared/hardware/nvidia.nix
Normal file
17
shared/hardware/nvidia.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
hardware = {
|
||||
nvidia = {
|
||||
open = true; # Set to false to use the proprietary kernel module
|
||||
forceFullCompositionPipeline = true;
|
||||
};
|
||||
|
||||
graphics = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [ nvidia-vaapi-driver ];
|
||||
};
|
||||
};
|
||||
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
boot.kernelPackages = pkgs.linuxPackages_xanmod_latest;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue