fixup! nixos: gaming: gamemode: integrate with offloading
This commit is contained in:
parent
1b9aec84af
commit
ecfa59e73d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@
|
||||||
inherit (config.hardware.nvidia.prime) offload;
|
inherit (config.hardware.nvidia.prime) offload;
|
||||||
in
|
in
|
||||||
lib.mkIf
|
lib.mkIf
|
||||||
(builtins.elem "nvidia" config.services.xserver.videoDrivers || offload.enable || offload.enableOffloadCmd)
|
(builtins.elem "nvidia" config.services.xserver.videoDrivers && offload.enable && offload.enableOffloadCmd)
|
||||||
(lib.mkDefault "nvidia-offload");
|
(lib.mkDefault "nvidia-offload");
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue