Open
Description
These set of modules would make a way to create a thing I would call wraparounds. These are just wrappers that wrap around another program (which I would refer to as a subwrapper). Examples include sudo
, boxxy, and Bubblewrap.
# Typical pattern of a wraparound.
WRAPAROUND WRAPAROUND_FLAGS SUBWRAPPER SUBWRAPPER_FLAGS
sudo -E KEY=value ls -l
bwrap --unshare-all --ro-bind /nix/store /nix/store -- tmux -c hello.conf
- Boxxy (there's already a working module)
- Bubblewrap (also have a working module, just need MORE THAN USUAL testing)
This seems to be one of the more fruitful direction for this project especially that there is already library functions for setting up wraparounds (wrapperManagerLib.modules.makeWraparound
).