Add Omarchy Linux support to the installer - #3
Merged
Conversation
Detect Omarchy even when os-release still says ID=arch, install Docker via omarchy-pkg-add/pacman without -Syu, enable docker.service on boot so unless-stopped containers survive reboot, and add UFW P2P rules that Omarchy's deny-incoming default would otherwise block. Co-authored-by: David Feder <DavidFeder@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds first-class Omarchy support (Arch-based, DHH/Basecamp). Stock Omarchy still reports
ID=archin os-release, so detection also looks foromarchy-pkg-add,omarchy,/etc/profile.d/omarchy.sh, and the usual install paths.This branch is based on #2 (installer hardening). Merging this PR includes that work plus Omarchy. If #2 is merged first, this rebases cleanly to a one-commit Omarchy diff.
Why this is possible
Omarchy already ships Docker, Compose, and UFW. The previous installer treated anything that was not Ubuntu/Debian as “install Docker yourself” and would exit if Compose was missing.
What changes
ID_LIKE=arch).docker,docker-compose(v2docker composeplugin),docker-buildx, andopensslwithomarchy-pkg-addwhen present, elsepacman -S --needed.pacman -Syu, which Omarchy’s ALPM guard aborts in favor ofomarchy update.docker.serviceon boot. Omarchy defaults todocker.socketonly; without dockerd at boot,restart: unless-stoppedcontainers would not come back after reboot.Vanilla Arch uses the same pacman path.
How to verify on Omarchy
./install.sh sudo ufw status numbered # P2P 30303/13000/12000 + LAN RPC systemctl is-enabled docker ./status.shLocal tests (
test_common.sh,test_beacon_flags.sh, shellcheck) passed. This environment is not Omarchy, so the pacman path was not executed live.