Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider adding an option to install nixsa, a sandboxed nix #1122

Open
adam-gaia opened this issue Aug 28, 2024 · 1 comment
Open

Consider adding an option to install nixsa, a sandboxed nix #1122

adam-gaia opened this issue Aug 28, 2024 · 1 comment

Comments

@adam-gaia
Copy link

I've recently discovered nixsa, a staticly-linked exec that sets up a sandboxed environment and then calls nix in that environment. Nixsa uses bubblewrap which flatpak uses for sandboxing.

I'm personally interested in the DetSys installer supporting my Synology NAS (see #585) and I see nixsa as a way to get around the need for /nix/store to be on a bind mount (I don't think setting up a persistent bind mount can be scripted on Synology's OS).

Is there any interest in supporting an option to install nixsa or something similar? If so, I'm happy to put in the legwork and try to get a PR in!

@cole-h
Copy link
Member

cole-h commented Sep 23, 2024

If nixsa can produce a binary tarball similar to the one Nix does, you may be able to use it by passing a link to the binary tarball with --nix-package-url <url> (where <url> could also be a local file).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants