2023-11-05 14:38:48 +01:00
|
|
|
# Include any additional configuration file(s)
|
|
|
|
# [include] sections are processed in the order you write them
|
|
|
|
# Files in $CONFIG_DIR/topgrade.d/ are automatically included before this file
|
|
|
|
[include]
|
|
|
|
# paths = ["/etc/topgrade.toml"]
|
|
|
|
|
|
|
|
|
|
|
|
[misc]
|
|
|
|
# Run `sudo -v` to cache credentials at the start of the run
|
|
|
|
# This avoids a blocking password prompt in the middle of an unattended run
|
|
|
|
# (default: false)
|
|
|
|
# pre_sudo = false
|
|
|
|
|
|
|
|
# Sudo command to be used
|
|
|
|
# sudo_command = "sudo"
|
|
|
|
|
|
|
|
# Disable specific steps - same options as the command line flag
|
|
|
|
# disable = ["system", "emacs"]
|
|
|
|
|
|
|
|
# Ignore failures for these steps
|
|
|
|
# ignore_failures = ["powershell"]
|
|
|
|
|
|
|
|
# List of remote machines with Topgrade installed on them
|
|
|
|
# remote_topgrades = ["toothless", "pi", "parnas"]
|
|
|
|
|
|
|
|
# Path to Topgrade executable on remote machines
|
|
|
|
# remote_topgrade_path = ".cargo/bin/topgrade"
|
|
|
|
|
|
|
|
# Arguments to pass to SSH when upgrading remote systems
|
|
|
|
# ssh_arguments = "-o ConnectTimeout=2"
|
|
|
|
|
|
|
|
# Arguments to pass tmux when pulling Repositories
|
|
|
|
# tmux_arguments = "-S /var/tmux.sock"
|
|
|
|
|
|
|
|
# Do not set the terminal title (default: true)
|
|
|
|
# set_title = true
|
|
|
|
|
|
|
|
# Display the time in step titles (default: true)
|
|
|
|
# display_time = true
|
|
|
|
|
|
|
|
# Don't ask for confirmations (no default value)
|
2023-11-05 14:41:01 +01:00
|
|
|
assume_yes = true
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
# Do not ask to retry failed steps (default: false)
|
|
|
|
# no_retry = true
|
|
|
|
|
|
|
|
# Run inside tmux (default: false)
|
|
|
|
# run_in_tmux = true
|
|
|
|
|
|
|
|
# Cleanup temporary or old files (default: false)
|
2023-11-05 14:41:01 +01:00
|
|
|
cleanup = true
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
# Send a notification for every step (default: false)
|
|
|
|
# notify_each_step = false
|
|
|
|
|
|
|
|
# Skip sending a notification at the end of a run (default: false)
|
2023-11-05 14:41:01 +01:00
|
|
|
skip_notify = true
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
# The Bash-it branch to update (default: "stable")
|
|
|
|
# bashit_branch = "stable"
|
|
|
|
|
|
|
|
# Run specific steps - same options as the command line flag
|
|
|
|
# only = ["system", "emacs"]
|
|
|
|
|
|
|
|
# Whether to self update
|
|
|
|
#
|
|
|
|
# this will be ignored if the binary is built without self update support
|
|
|
|
#
|
2023-11-05 14:41:01 +01:00
|
|
|
# available also via setting the environment variable (TOPGRADE_NO_SELF_UPGRADE)
|
2024-01-25 09:09:35 +01:00
|
|
|
no_self_update = true
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
# Extra tracing filter directives
|
|
|
|
# These are prepended to the `--log-filter` argument
|
|
|
|
# See: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/filter/struct.EnvFilter.html#directives
|
|
|
|
# log_filters = ["topgrade::command=debug", "warn"]
|
|
|
|
|
|
|
|
|
|
|
|
# Commands to run before anything
|
|
|
|
[pre_commands]
|
|
|
|
# "Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
|
|
|
|
|
|
|
|
|
|
|
# Commands to run after anything
|
|
|
|
[post_commands]
|
|
|
|
# "Emacs Snapshot" = "rm -rf ~/.emacs.d/elpa.bak && cp -rl ~/.emacs.d/elpa ~/.emacs.d/elpa.bak"
|
|
|
|
|
|
|
|
|
|
|
|
# Custom commands
|
|
|
|
[commands]
|
|
|
|
# "Python Environment" = "~/dev/.env/bin/pip install -i https://pypi.python.org/simple -U --upgrade-strategy eager jupyter"
|
|
|
|
# "Custom command using interactive shell (unix)" = "-i vim_upgrade"
|
|
|
|
|
|
|
|
|
|
|
|
[python]
|
|
|
|
# enable_pip_review = true ###disabled by default
|
|
|
|
# enable_pip_review_local = true ###disabled by default
|
2023-11-05 14:41:01 +01:00
|
|
|
enable_pipupgrade = true ###disabled by default
|
2023-11-05 14:38:48 +01:00
|
|
|
# pipupgrade_arguments = "-y -u --pip-path pip" ###disabled by default
|
|
|
|
|
|
|
|
|
|
|
|
[composer]
|
|
|
|
# self_update = true
|
|
|
|
|
|
|
|
|
|
|
|
[brew]
|
|
|
|
# greedy_cask = true
|
|
|
|
# autoremove = true
|
|
|
|
|
|
|
|
|
|
|
|
[linux]
|
|
|
|
# Arch Package Manager to use.
|
|
|
|
# Allowed values:
|
|
|
|
# autodetect, aura, garuda_update, pacman, pamac, paru, pikaur, trizen, yay
|
|
|
|
# arch_package_manager = "pacman"
|
|
|
|
|
|
|
|
# Arguments to pass yay (or paru) when updating packages
|
|
|
|
# yay_arguments = "--nodevel"
|
|
|
|
|
|
|
|
# Arguments to pass dnf when updating packages
|
|
|
|
# dnf_arguments = "--refresh"
|
|
|
|
|
|
|
|
# aura_aur_arguments = "-kx"
|
|
|
|
|
|
|
|
# aura_pacman_arguments = ""
|
|
|
|
# garuda_update_arguments = ""
|
|
|
|
|
|
|
|
# show_arch_news = true
|
|
|
|
|
|
|
|
# trizen_arguments = "--devel"
|
|
|
|
|
|
|
|
# pikaur_arguments = ""
|
|
|
|
|
|
|
|
# pamac_arguments = "--no-devel"
|
|
|
|
|
|
|
|
# enable_tlmgr = true
|
|
|
|
|
|
|
|
# emerge_sync_flags = "-q"
|
|
|
|
|
|
|
|
# emerge_update_flags = "-uDNa --with-bdeps=y world"
|
|
|
|
|
|
|
|
# redhat_distro_sync = false
|
|
|
|
|
|
|
|
# suse_dup = false
|
|
|
|
|
|
|
|
# rpm_ostree = false
|
|
|
|
|
|
|
|
# nix_arguments = "--flake"
|
|
|
|
|
|
|
|
# nix_env_arguments = "--prebuilt-only"
|
|
|
|
|
|
|
|
# Extra Home Manager arguments
|
|
|
|
# home_manager_arguments = ["--flake", "file"]
|
|
|
|
|
|
|
|
|
|
|
|
[git]
|
|
|
|
# max_concurrency = 5
|
|
|
|
|
|
|
|
# Git repositories that you want to pull and push
|
|
|
|
# repos = [
|
|
|
|
# "~/src/*/",
|
|
|
|
# "~/.config/something"
|
|
|
|
# ]
|
|
|
|
|
|
|
|
# Don't pull the predefined git repos
|
|
|
|
# pull_predefined = false
|
|
|
|
|
|
|
|
|
|
|
|
[windows]
|
|
|
|
# Manually select Windows updates
|
2023-11-05 15:06:53 +01:00
|
|
|
accept_all_updates = true
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
# open_remotes_in_new_terminal = true
|
|
|
|
|
|
|
|
# wsl_update_pre_release = true
|
|
|
|
|
|
|
|
# wsl_update_use_web_download = true
|
|
|
|
|
|
|
|
# Causes Topgrade to rename itself during the run to allow package managers
|
|
|
|
# to upgrade it. Use this only if you installed Topgrade by using a package
|
|
|
|
# manager such as Scoop or Cargo
|
|
|
|
# self_rename = true
|
|
|
|
|
2023-11-05 15:08:04 +01:00
|
|
|
# Enable Winget package manager
|
2023-11-05 14:56:16 +01:00
|
|
|
enable_winget=true
|
|
|
|
|
2023-11-05 14:38:48 +01:00
|
|
|
|
|
|
|
[npm]
|
|
|
|
# Use sudo if the NPM directory isn't owned by the current user
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
|
|
|
|
|
[yarn]
|
|
|
|
# Run `yarn global upgrade` with `sudo`
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
|
|
|
|
|
[vim]
|
|
|
|
# For `vim-plug`, execute `PlugUpdate!` instead of `PlugUpdate`
|
|
|
|
# force_plug_update = true
|
|
|
|
|
|
|
|
|
|
|
|
[firmware]
|
|
|
|
# Offer to update firmware; if false just check for and display available updates
|
|
|
|
# upgrade = true
|
|
|
|
|
|
|
|
|
|
|
|
[vagrant]
|
|
|
|
# Vagrant directories
|
|
|
|
# directories = []
|
|
|
|
|
|
|
|
# power on vagrant boxes if needed
|
|
|
|
# power_on = true
|
|
|
|
|
|
|
|
# Always suspend vagrant boxes instead of powering off
|
|
|
|
# always_suspend = true
|
|
|
|
|
|
|
|
|
|
|
|
[flatpak]
|
|
|
|
# Use sudo for updating the system-wide installation
|
|
|
|
# use_sudo = true
|
|
|
|
|
|
|
|
|
|
|
|
[distrobox]
|
|
|
|
# use_root = false
|
|
|
|
|
|
|
|
# containers = ["archlinux-latest"]
|