-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Background
The script/bootstrap script was originally intended as a curl-based entrypoint for getting up and running with dotfiles:
- Install git, bash, curl, unzip
- Clone the repo
- Run setup
However, it has grown beyond its original scope and doesn't cleanly fit with the OS/root-level setup scripts.
Current State
script/bootstrap- User-level entrypoint, installs deps + chezmoi, runs bootstrap scriptsscript/arch/setup-root- Root-level, creates user, sets up sudoscript/arch/os-install- Bare-metal installationscript/setup,script/setup-full,script/setup-system- User-level setup
Issues
- ArchWSL chicken-and-egg: Bootstrap can't run on fresh ArchWSL because pacman needs keyring init first, but bootstrap uses
pacman -Syto install git - Root vs User divide: Bootstrap assumes a user exists with sudo access. On fresh systems (ArchWSL, bare-metal), you need to create the user first via setup-root
- Scope creep: Bootstrap does more than its comments describe
- pacman -Sy: Uses partial upgrade (should be -Syu)
Questions to Consider
- Should bootstrap handle keyring init for Arch/ArchWSL before installing git?
- Should there be a unified "smart" entrypoint that detects context (root vs user, fresh vs existing) and calls appropriate scripts?
- Should bootstrap stay focused on just "clone repo + install chezmoi" and leave all setup to explicit setup scripts?
- How should the wget-based flow work for systems without git (download setup-root directly)?
Related
- Issue Update arch setup, particularly for WSL #26 (Update arch setup for WSL)
- The Chimera Linux pattern in README shows clean phase separation
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels