Skip to content

Dedicated wraparound modules #4

Open
@foo-dogsquared

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

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).

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions