And I could never get enough

This commit is contained in:
λmolinae 2025-05-25 14:38:46 -06:00
parent ae7aefa541
commit b88dc9011a
15 changed files with 159 additions and 50 deletions

View file

@ -1,22 +1,21 @@
#!/bin/sh
ROOT=""$HOME"/Documents/Miscellaneous/archroot"
ROOT=""$HOME"/Documents/Miscellaneous/alpchroot/"
bwrap \
--bind "$ROOT" / \
--dev-bind /dev /dev \
--tmpfs /tmp \
--proc /proc \
--tmpfs /tmp \
--bind "$ROOT"/usr /usr \
--bind "$ROOT"/bin /bin \
--bind "$ROOT"/sbin /sbin \
--bind "$ROOT"/etc /etc \
--bind "$ROOT"/lib /lib \
--bind "$ROOT"/lib64 /lib64 \
--bind "$ROOT"/usr/lib /usr/lib \
--bind "$ROOT"/usr/lib64 /usr/lib64 \
--bind "$ROOT"/usr/bin /usr/bin \
--bind "$ROOT"/bin /bin \
--bind "$ROOT"/usr/share /usr/share \
--bind "$ROOT"/etc /etc \
--ro-bind "$ROOT"/etc/resolv.conf /etc/resolv.conf \
--setenv SHELL /bin/ash \
--bind "$HOME" "$HOME" \
--setenv "$XDG_RUNTIME_DIR" "$XDG_RUNTIME_DIR" \
--bind "$XDG_RUNTIME_DIR" "$XDG_RUNTIME_DIR" \
--share-net \
/usr/bin/nvim "$@"