Add XDG support

This commit is contained in:
2025-04-04 17:43:06 +00:00
parent f71b17e5ff
commit e04bcc547b
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