nvidia fixes 4
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user