nvidia fixes 4

This commit is contained in:
cnst
2024-09-22 00:25:48 +02:00
parent bf7b41c0ec
commit 82c28080f8

View File

@@ -14,7 +14,6 @@
inherit (lib) types mkIf mkEnableOption mkOption; inherit (lib) types mkIf mkEnableOption mkOption;
cfg = config.modules.hardware.graphics.nvidia; cfg = config.modules.hardware.graphics.nvidia;
in { in {
environment.systemPackages = [nvidia-offload];
options = { options = {
modules.hardware.graphics.nvidia = { modules.hardware.graphics.nvidia = {
enable = mkEnableOption "Enables NVidia graphics"; enable = mkEnableOption "Enables NVidia graphics";
@@ -32,6 +31,7 @@ in {
enable = true; enable = true;
enable32Bit = true; enable32Bit = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
nvidia-offload
libva libva
vaapiVdpau vaapiVdpau
libvdpau-va-gl libvdpau-va-gl