Skip to content
This repository has been archived by the owner on Jan 4, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant