2024-09-22 11:47:21 +02:00
|
|
|
# see `man dnf.conf` for defaults and possible options
|
|
|
|
|
2021-01-29 18:15:08 +01:00
|
|
|
[main]
|
2024-09-22 11:47:21 +02:00
|
|
|
# The above is the Fedora 41 default config for dnf5. The below is notes on my
|
|
|
|
# additions to it.
|
|
|
|
|
2024-05-10 18:27:32 +02:00
|
|
|
# 3 is the default, increase this in case of kernel upgrade trouble (unrelated
|
|
|
|
# to space, see dracut.conf.d for that)
|
2024-06-30 20:49:46 +02:00
|
|
|
#installonly_limit=3
|
2021-01-29 18:15:08 +01:00
|
|
|
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
|
2024-09-22 11:47:21 +02:00
|
|
|
#skip_if_unavailable=True
|
2021-05-05 19:43:52 +02:00
|
|
|
|
2024-06-30 20:49:46 +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
|
|
|
|
2021-04-28 11:32:58 +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
|
|
|
|
2022-09-17 20:42:15 +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.
|
2022-09-17 20:51:13 +02:00
|
|
|
# Note: don't set this below 2
|
|
|
|
#timeout=2
|
2022-09-17 20:42:15 +02:00
|
|
|
|
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
|
2022-11-30 16:56:05 +01:00
|
|
|
|
|
|
|
# Zaldaryn has small root partition and cannot cache enough for family
|
|
|
|
# booting it with long intervals
|
|
|
|
#cachedir=/home/dnfcache/
|