Add XDG support

This commit is contained in:
anmiller
2025-03-20 20:35:34 +00:00
parent d0a7049bd8
commit a07797c281
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