mirror of
https://gitlab.com/upRootNutrition/dotfiles.git
synced 2025-12-07 21:42:16 -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 {
|
systemPackages = builtins.attrValues {
|
||||||
inherit (pkgs) ddcutil;
|
inherit (pkgs) ddcutil;
|
||||||
# Remove CUDA from system packages for now
|
|
||||||
# inherit (pkgs.cudaPackages) cudatoolkit;
|
|
||||||
};
|
};
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
MOZ_DISABLE_RDD_SANDBOX = 1;
|
MOZ_DISABLE_RDD_SANDBOX = 1;
|
||||||
|
|
@ -26,14 +24,15 @@
|
||||||
ENABLE_HDR_WSI = "1";
|
ENABLE_HDR_WSI = "1";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
graphics = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enable32Bit = 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 {
|
extraPackages32 = builtins.attrValues {
|
||||||
inherit (pkgs.pkgsi686Linux) nvidia-vaapi-driver vaapiVdpau;
|
inherit (pkgs.pkgsi686Linux) nvidia-vaapi-driver libva-vdpau-driver;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nvidia = {
|
nvidia = {
|
||||||
|
|
@ -49,13 +48,11 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
xserver = {
|
xserver = {
|
||||||
enable = true;
|
enable = true;
|
||||||
videoDrivers = [ "nvidia" ];
|
videoDrivers = [ "nvidia" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.nvidia-container-toolkit.enable = lib.mkIf config.virtualisation.docker.enable true;
|
hardware.nvidia-container-toolkit.enable = lib.mkIf config.virtualisation.docker.enable true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue