1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 06:31:14 +02:00
nix/doc/manual/src/command-ref/files/user-profile-link.md
2023-04-26 15:38:19 +02:00

679 B

User profile link

A symbolic link to the user's current profile.

By default, this symlink points to:

  • $XDG_STATE_HOME/nix/profiles/default for regular users
  • $NIX_STATE_DIR/profiles/per-user/root/profile for root

The PATH environment variable should include /bin subdirectory of the profile link (e.g. ~/.nix-profile/bin) for the user environment to be visible to the user. The installer sets this up by default.