add nvidia support
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
nixpkgs.config.rocmSupport = true;
|
||||
hardware = {
|
||||
enableRedistributableFirmware = true;
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
vkbasalt
|
||||
mangohud
|
||||
lsfg-vk
|
||||
];
|
||||
};
|
||||
nvidia = {
|
||||
open = true;
|
||||
modesetting = true;
|
||||
};
|
||||
};
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
}
|
||||
Reference in New Issue
Block a user