feat: add wallpaperEngine services

This commit is contained in:
DACHXY 2025-01-06 21:43:50 +08:00
parent 28789b9db8
commit 9a47a9e692
14 changed files with 352 additions and 79 deletions

View 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 "$@"
''