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

@@ -66,8 +66,8 @@
# > development < # # > development < #
android-studio android-studio
podman docker
podman-compose docker-compose
seahorse seahorse
platformio platformio
iwgtk iwgtk

View File

@@ -3,25 +3,25 @@
nixpkgs.config.nvidia.acceptLicense = true; nixpkgs.config.nvidia.acceptLicense = true;
services.xserver.videoDrivers = [ "nvidia" ]; services.xserver.videoDrivers = [ "nvidia" ];
boot = {
kernelModules = [ "nvidia-uvm" ];
kernelParams = [ "nvidia-drm.fbdev=1" ];
};
hardware = { hardware = {
graphics = { graphics = {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
egl-wayland egl-wayland
]; vaapiVdpau
}; libvdpau-va-gl
nvidia-vaapi-driver
opengl = {
enable = true;
extraPackages = with pkgs; [
vaapiVdpau
libvdpau-va-gl
]; ];
}; };
nvidia = { nvidia = {
package = config.boot.kernelPackages.nvidiaPackages.beta; # package = config.boot.kernelPackages.nvidiaPackages;
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;

View File

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