nvidia mods

This commit is contained in:
2024-12-16 20:52:05 +01:00
parent 594dfa5aea
commit 3cc7976d8e
3 changed files with 12 additions and 13 deletions

View File

@@ -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;

View File

@@ -19,9 +19,8 @@
services.spice-vdagentd.enable = true;
virtualisation = {
podman = {
docker = {
enable = true;
dockerCompat = true;
};
spiceUSBRedirection.enable = true;
libvirtd = {