-
Notifications
You must be signed in to change notification settings - Fork 0
Bootstrap
Jonathan Schlueter edited this page Feb 26, 2026
·
1 revision
Bootstrap lets you provision a new machine from a declarative config file. Install packages, clone repos, restore dotfiles, and run custom commands — all in one step.
synx --bootstrap-setupThe interactive wizard walks you through:
-
AUR Helper — detect or choose
paru/yay - Packages — select packages to install
- Git Repos — repos to clone with optional install scripts
- Dotfile Restore — auto-restore dotfiles after setup
-
Custom Commands — post-install commands (
chsh,systemctl, etc.)
The config is saved to ~/.config/synx/bootstrap.conf and backed up to the dotfiles repo at .synx/bootstrap.conf.
[aur]
helper = paru
[packages]
list = firefox hyprland waybar kitty rofi-wayland fish starship
[repos]
repo = https://github.com/user/project.git | ~/project | ./install.sh
repo = https://github.com/user/scripts.git | ~/scripts
[dotfiles]
restore = true
[commands]
run = chsh -s /usr/bin/fish
run = systemctl --user enable pipewire| Section | Purpose |
|---|---|
[aur] |
AUR helper to use (paru or yay) |
[packages] |
Space-separated list of packages to install via pacman/AUR |
[repos] |
Git repos to clone, format: url | destination | optional install script
|
[dotfiles] |
Set restore = true to auto-run synx -r after setup |
[commands] |
Arbitrary shell commands to run post-install |
synx --bootstrap https://github.com/Blumenwagen/dotfiles.gitThis will:
- Clone your dotfiles repo
- Find the bootstrap config in
.synx/bootstrap.conf - Show it for review (you can edit it before proceeding)
- Execute each step with confirmations
synx --bootstrap https://github.com/Blumenwagen/dotfiles.git --yessynx --bootstrap ""If you pass an empty URL, synx uses the local bootstrap config without cloning.
Before executing, synx shows a summary and gives you options:
-
e— Edit the config in$EDITOR -
c— Continue with this config -
q— Quit
Warning: Bootstrap is designed for Arch Linux and Arch-based distributions. It relies on
pacmanand AUR helpers for package management.