shell-things/etc/dnf/dnf.conf

38 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

# see `man dnf.conf` for defaults and possible options
[main]
# The above is the Fedora 41 default config for dnf5. The below is notes on my
# additions to it.
# 3 is the default, increase this in case of kernel upgrade trouble (unrelated
# to space, see dracut.conf.d for that)
#installonly_limit=3
clean_requirements_on_remove=True
2024-08-11 05:43:45 +02:00
# The --best flag could be specified here, but default is False
#best=True
#skip_if_unavailable=True
2021-05-05 19:43:52 +02:00
# Find the mirror with the lowest ping. While this might be the closest
# mirror, this won't consider the available bandwidth which may result into
# slower downloads than the order Fedora provides servers in when this is
# disabled.
fastestmirror=true
2021-05-05 19:43:52 +02:00
# default 3, max 20, often suggested 10. I am not sure high numbers bring
# benefit, but double seems fine
max_parallel_downloads=6
2021-05-05 19:43:52 +02:00
# Default timeout is 30 seconds which is a bit uncomfortable for when
# you know something like S3 is down and you are on good connection.
# Note: don't set this below 2
#timeout=2
2021-05-05 19:43:52 +02:00
# Tor, other than the dnf part, apg so different circuits
#proxy=socks5://127.0.0.1:9050
#proxy_username=dnfOodCicucpi
#proxy_password=dnfmejarvAgBy
# Zaldaryn has small root partition and cannot cache enough for family
# booting it with long intervals
#cachedir=/home/dnfcache/