Kron4ek / Conty

Easy to use unprivileged Linux container packed into a single portable executable
MIT License
772 stars 45 forks source link

NixOS Support #199

Closed liberodark closed 3 weeks ago

liberodark commented 3 weeks ago

Hi,

I think this would be great to see for NixOS support. Have issue for detect correctly vulkan on nixos with conty.

That what have made for check where is libs.

find /nix/store -name "*_icd*.json"
find /nix/store -name "libvulkan.so*"

Issue with vk :

./conty.sh vkcube
Running Conty

vkEnumerateInstanceExtensionProperties failed to find the VK_KHR_surface extension.

Do you have a compatible Vulkan installable client driver (ICD) installed?
Please look at the Getting Started guide for additional information.

Best Regards

Kron4ek commented 3 weeks ago

Hi. Does launching Conty this way solves your problem?

$ export XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm:/var/lib/menu-xdg"
$ ./conty.sh vkcube
liberodark commented 3 weeks ago

Yes that work. Thank your for this fix.