Commit graph

6 commits

Author SHA1 Message Date
Alex David
2cef740876 Bind bash to /bin/sh
This fixes a bug on non-nixos systems where bash may not be statically
linked.
2025-09-04 15:08:47 -07:00
Alex David
0532ce0e88 Remove unused let in 2025-09-01 21:47:48 -07:00
Alex David
7d3efead61 Only expose runtime closure by default
Instead of binding the entire `/nix/store`. This behavior can be changed
by overriding `basePermissions`.
2025-08-27 12:14:55 -07:00
Alex David
d8500ab273 Move fake-passwd into combinators 2025-08-07 17:26:51 -07:00
Alex David
06c7210127 Refactor path handling
* Moves the default coreutils path into base permissions to allow
  override.
* Makes paths defined *later* in the permissions list appear *earlier*
  which should have the effect of later calls to `add-path` override
  binaries provided by earlier ones.
* Makes the `path` variable on state a list rather than a string.
2025-08-07 16:26:18 -07:00
Alex David
c7685334cf Restructure source 2025-08-07 15:54:50 -07:00
Renamed from base-permissions.nix (Browse further)