mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 08:26:12 +01:00
nvidia mods
This commit is contained in:
@@ -3,25 +3,25 @@
|
||||
nixpkgs.config.nvidia.acceptLicense = true;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
|
||||
boot = {
|
||||
kernelModules = [ "nvidia-uvm" ];
|
||||
kernelParams = [ "nvidia-drm.fbdev=1" ];
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = with pkgs; [
|
||||
egl-wayland
|
||||
];
|
||||
};
|
||||
|
||||
opengl = {
|
||||
enable = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
nvidia-vaapi-driver
|
||||
];
|
||||
};
|
||||
|
||||
nvidia = {
|
||||
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
||||
# package = config.boot.kernelPackages.nvidiaPackages;
|
||||
open = false;
|
||||
|
||||
nvidiaSettings = true;
|
||||
|
||||
Reference in New Issue
Block a user