refactor(install): restore fresh-install flow, drop transform.sh and personas
Long-standing gaps in post-install.sh plus cleanup: - post-install.sh:18 was `sudo pacman -S paru` on the wrong assumption paru had landed in [extra]. Verified: paru/paru-bin are AUR-only. Restored the original git-clone + makepkg bootstrap, added the rust buildep that archinstall does not pull in. - post-install.sh never installed AUR extras — walker, elephant, waypaper, stasis, themes all silently skipped. Now pulls packages/aur.txt after moonarch-git. - packages/official.txt: drop glab, go, npm (unused) and rustup (only needed for the paru build, handled imperatively now). - packages/aur.txt: add walker-bin (was missing entirely). - transform.sh + legacy update.sh shim removed — transform was never used in practice. - Apollo persona block out of CLAUDE.md, prior DECISIONS entries rewritten from Apollo/Ragnar to ClaudeCode. - README Transform section and scripts/ listing trimmed. - lib.sh ABOUTME updated — only post-install.sh sources it now.
This commit is contained in:
@@ -54,35 +54,6 @@ The archinstall config clones this repo to `/opt/moonarch` via custom-commands.
|
||||
post-install.sh handles the remaining ~95 packages, all configs, themes, services,
|
||||
and user setup.
|
||||
|
||||
### Transform (Existing Arch+Wayland System)
|
||||
|
||||
Already running Arch with a Wayland compositor (Sway, Hyprland, GNOME Wayland, etc.)?
|
||||
Transform converts your system to Moonarch without reinstalling.
|
||||
|
||||
**Prerequisites:** Active Wayland session, git installed.
|
||||
|
||||
```bash
|
||||
# Clone the repo
|
||||
sudo git clone https://gitea.moonarch.de/nevaforget/moonarch.git /opt/moonarch
|
||||
|
||||
# Preview what will happen (no changes made)
|
||||
/opt/moonarch/scripts/transform.sh --dry-run
|
||||
|
||||
# Run the transform
|
||||
/opt/moonarch/scripts/transform.sh
|
||||
|
||||
# Reboot (do NOT log out — your previous DM is already disabled)
|
||||
sudo reboot
|
||||
```
|
||||
|
||||
The script will:
|
||||
1. Show a pre-flight summary (package diff, config changes, detected conflicts)
|
||||
2. Back up your `~/.config/`, `~/.zshrc`, and `/etc/xdg/` to timestamped tar archives
|
||||
3. Disable conflicting display managers (SDDM, GDM, LightDM, etc.)
|
||||
4. Remove conflicting packages (e.g. PulseAudio → PipeWire)
|
||||
5. Install all Moonarch packages and configs (**hard overwrite** of most user configs; kanshi display profiles are preserved)
|
||||
6. Enable greetd, firewall, and system services
|
||||
|
||||
### Update
|
||||
|
||||
```bash
|
||||
@@ -114,9 +85,8 @@ packages/
|
||||
aur.txt AUR packages (~20), one per line
|
||||
|
||||
scripts/
|
||||
lib.sh Shared helpers sourced by all scripts
|
||||
lib.sh Shared helpers sourced by post-install.sh
|
||||
post-install.sh Main automation (packages, configs, themes, services)
|
||||
transform.sh Convert existing Arch+Wayland system to Moonarch
|
||||
moonarch-update Interactive updater (deployed to /usr/bin/ as moonup)
|
||||
moonarch-doctor System health checker (deployed to /usr/bin/ as moondoc)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user