mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 06:42:28 +00:00
2384d36083
XDG Base Directory is a standard for locations for storing various files. Nix has a few files which seem to fit in the standard, but currently use a custom location directly in the user's ~, polluting it: - ~/.nix-profile - ~/.nix-defexpr - ~/.nix-channels This commit adds a config option (use-xdg-base-directories) to follow the XDG spec and instead use the following locations: - $XDG_STATE_HOME/nix/profile - $XDG_STATE_HOME/nix/defexpr - $XDG_STATE_HOME/nix/channels If $XDG_STATE_HOME is not set, it is assumed to be ~/.local/state. Co-authored-by: Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> Co-authored-by: Tim Fenney <kodekata@gmail.com> Co-authored-by: pasqui23 <pasqui23@users.noreply.github.com> Co-authored-by: Artturin <Artturin@artturin.com> Co-authored-by: John Ericson <Ericson2314@Yahoo.com> |
||
---|---|---|
.. | ||
bigsur-nixbld-user-migration.sh | ||
check-hydra-status.sh | ||
create-darwin-volume.sh | ||
install-darwin-multi-user.sh | ||
install-multi-user.sh | ||
install-nix-from-closure.sh | ||
install-systemd-multi-user.sh | ||
install.in | ||
local.mk | ||
nix-profile-daemon.fish.in | ||
nix-profile-daemon.sh.in | ||
nix-profile.fish.in | ||
nix-profile.sh.in | ||
prepare-installer-for-github-actions |