mirror of
https://github.com/lucabrunox/nix-user-chroot.git
synced 2024-11-03 20:57:12 +03:00
7 lines
181 B
Markdown
7 lines
181 B
Markdown
|
Run nix as user in a lightweight chrooted container.
|
||
|
|
||
|
1. Create an empty directory somewhere, `$DIR`
|
||
|
2. Run `nix-user-chroot $DIR bash`
|
||
|
|
||
|
You can now install nix under /nix as user.
|