How to put your /nix directory on a separate device

If people want to mount a directory and not a whole partition (share that partition with other use cases), you can also use a bind mound. This email is insightful on how to do that.

2 Likes

Bind mounts are definitely the way to go. I use bind mounted /nix on all my servers (RHEL). Trivial to set up too.

1 Like