mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-06 21:17:14 -06:00
chore: updated nvidia package
This commit is contained in:
parent
816fae91b2
commit
e1d656925a
1 changed files with 4 additions and 7 deletions
|
|
@ -11,8 +11,6 @@
|
|||
'';
|
||||
systemPackages = builtins.attrValues {
|
||||
inherit (pkgs) ddcutil;
|
||||
# Remove CUDA from system packages for now
|
||||
# inherit (pkgs.cudaPackages) cudatoolkit;
|
||||
};
|
||||
sessionVariables = {
|
||||
MOZ_DISABLE_RDD_SANDBOX = 1;
|
||||
|
|
@ -26,14 +24,15 @@
|
|||
ENABLE_HDR_WSI = "1";
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
graphics = {
|
||||
enable = true;
|
||||
enable32Bit = true;
|
||||
extraPackages = builtins.attrValues { inherit (pkgs) nvidia-vaapi-driver vaapiVdpau; };
|
||||
extraPackages = builtins.attrValues {
|
||||
inherit (pkgs) nvidia-vaapi-driver libva-vdpau-driver;
|
||||
};
|
||||
extraPackages32 = builtins.attrValues {
|
||||
inherit (pkgs.pkgsi686Linux) nvidia-vaapi-driver vaapiVdpau;
|
||||
inherit (pkgs.pkgsi686Linux) nvidia-vaapi-driver libva-vdpau-driver;
|
||||
};
|
||||
};
|
||||
nvidia = {
|
||||
|
|
@ -49,13 +48,11 @@
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
services = {
|
||||
xserver = {
|
||||
enable = true;
|
||||
videoDrivers = [ "nvidia" ];
|
||||
};
|
||||
};
|
||||
|
||||
hardware.nvidia-container-toolkit.enable = lib.mkIf config.virtualisation.docker.enable true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue