feat: add wallpaperEngine services
This commit is contained in:
parent
28789b9db8
commit
9a47a9e692
14 changed files with 352 additions and 79 deletions
8
system/modules/offload.nix
Normal file
8
system/modules/offload.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
pkgs.writeShellScriptBin "offload" ''
|
||||
export __NV_PRIME_RENDER_OFFLOAD=1
|
||||
export __NV_PRIME_RENDER_OFFLOAD_PROVIDER=NVIDIA-G0
|
||||
export __GLX_VENDOR_LIBRARY_NAME=nvidia
|
||||
export __VK_LAYER_NV_optimus=NVIDIA_only
|
||||
exec "$@"
|
||||
''
|
||||
Loading…
Add table
Add a link
Reference in a new issue