mirror of
https://github.com/lucabrunox/nix-user-chroot.git
synced 2024-09-17 13:49:17 +03:00
Set NIX_CONF_DIR to /nix/etc/nix
This commit is contained in:
parent
3b2a590f7d
commit
4e6c9d6d84
@ -10,3 +10,7 @@ $ nix-*-linux/install
|
|||||||
```
|
```
|
||||||
|
|
||||||
You are in a user chroot where `/` is owned by your user, hence also `/nix` is owned by your user. Everything else is bind mounted from the real root.
|
You are in a user chroot where `/` is owned by your user, hence also `/nix` is owned by your user. Everything else is bind mounted from the real root.
|
||||||
|
|
||||||
|
Notes:
|
||||||
|
|
||||||
|
- The nix config is not in `/etc/nix` but in `/nix/etc/nix`, so that you can modify it. This is done with the `NIX_CONF_DIR`, which you can override at any time.
|
||||||
|
Loading…
Reference in New Issue
Block a user