Skip to content

Commit

Permalink
Set vulkan driver env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiberta committed Aug 18, 2024
1 parent 68590f3 commit 3617a76
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ package-repositories:
key-id: 03F5D621A3710FA95A93D89BAA8452080E383F7E
url: http://packages.lunarg.com/vulkan

environment:
LIBDECOR_PLUGIN_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libdecor/plugins-1
VK_ADD_DRIVER_FILES: /var/lib/snapd/lib/vulkan/icd.d:$SNAP/usr/share/vulkan/icd.d

apps:
moonlight:
command-chain: [bin/desktop-launch]
command: usr/bin/moonlight
common-id: com.moonlight_stream.Moonlight
environment:
LIBDECOR_PLUGIN_DIR: $SNAP/usr/lib/$CRAFT_ARCH_TRIPLET_BUILD_FOR/libdecor/plugins-1
plugs: &plugs
- audio-playback
- desktop
Expand Down

0 comments on commit 3617a76

Please sign in to comment.