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

feat(nix-based): Better portability for sysexts #20

Open
tulilirockz opened this issue Feb 16, 2024 · 0 comments
Open

feat(nix-based): Better portability for sysexts #20

tulilirockz opened this issue Feb 16, 2024 · 0 comments

Comments

@tulilirockz
Copy link
Contributor

tulilirockz commented Feb 16, 2024

Portability could be increased in this project in both of these cases:

Runtime

We could, instead of mounting /usr/store onto /nix/store, which requires root (currently, see #17), use nix-user-chroot or bubblewrap to wrap all the /usr/extension.d/$EXTENSION/bin symlinks to them and include /usr/store as /nix, making it think /nix/store exists when it doesnt, that would also remove the requirement for root for mounting /nix

Building

We could also build stuff with nix-portable or nix-user-chroot instead of spinning up a docker/podman container so that people may use bext layer build inside a distrobox or something like that

@tulilirockz tulilirockz changed the title feat: Better portability for nix-based sysexts feat(nix-based): Better portability for sysexts Feb 27, 2024
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

1 participant