nix-appimage
nix-appimage copied to clipboard
add bwrap Apprun
This is a try to create a new Apprun using bwrap and without doing chroot. It needs bubblewrap to be installed on the machine that will run the AppImage.
It allows all files from the root folder to be visible inside the appimage. For example, vim can now load plugins or run LSP server installed outside the AppImage.
However, if /nix already exist on the computer, it will be replaced inside the bwrap sandbox by the /nix of the AppImage. So it's not meant to be used in nixos or any computer with nix already installed.
I didn't tested, but normally bwrap don't prevent to create user namespaces (related to #10 ), so you should be able to run chromium or any electron apps. However you may still need nixGL for opengl related things.
The apprun is written in bash and can probably be improved, I'm open to suggestions and thank you for your incredible project !