Add XDG support

This commit is contained in:
2025-04-05 16:37:09 -04:00
committed by Andrew R. M.
parent ddf5d19c51
commit 3583770d94
7 changed files with 16 additions and 0 deletions

View File

@@ -40,6 +40,7 @@ NIX_CONF_FILE=${NIX_CONF_DIR}/nix.conf
mkdir -p ${NIX_CONF_DIR}
cat <<EOF > ${NIX_CONF_FILE}
experimental-features = flakes nix-command
use-xdg-base-directories = true
EOF
# Conditionally add a link to system certificates for nix
if [ -f /etc/ssl/certs/ca-certificates.crt ]; then