Add pacstall for neovim install + version updates on debian
Three changes: 1. NEW run_once_05-install-pacstall.sh.tmpl (debian-only) Installs pacstall via its official installer. Pacstall is an AUR-like package manager for debian/ubuntu, with neovim at 0.12.2-1 (current as of bootstrap). The installer requires root and prompts for 'install axel?', so we run it under sudo with NON_INTERACTIVE=true and stdin redirected from /dev/null. 2. UPDATE run_once_20-install-user-packages.sh.tmpl On debian, prefer pacstall over the GitHub tarball when pacstall is available. The tarball fallback remains for the case where pacstall install failed or isn't wanted. 3. NEW dot_config/topgrade/topgrade.toml Topgrade's built-in pacstall step auto-detects pacstall and runs 'pacstall -U -Up' (update repo + upgrade packages). Built-in chezmoi step also auto-detects chezmoi. So our topgrade config just sets pre_sudo=true for password caching and ignore_failures for node.
This commit is contained in:
parent
6771aff6a6
commit
b4a4b6e6b4
3 changed files with 116 additions and 32 deletions
17
dot_config/topgrade/topgrade.toml
Normal file
17
dot_config/topgrade/topgrade.toml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# =============================================================================
|
||||
# topgrade.toml — chezmoi-managed
|
||||
# Most steps (system, pacstall, flatpak, snap, cargo, npm, pyenv, rustup, etc.)
|
||||
# are auto-detected by topgrade when their binaries are on $PATH. Only set
|
||||
# custom config here.
|
||||
# =============================================================================
|
||||
|
||||
[misc]
|
||||
# Run `sudo -v` at the start so cached credentials cover the whole run.
|
||||
# Without this, topgrade will pause for password mid-run on each sudo invocation.
|
||||
pre_sudo = true
|
||||
|
||||
# Don't fail the whole run if one step fails.
|
||||
ignore_failures = ["node"]
|
||||
|
||||
# Print the time in step titles for verbose output.
|
||||
display_time = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue