Skip to content

Add Omarchy Linux support to the installer - #3

Merged
DavidFeder merged 1 commit into
mainfrom
cursor/omarchy-linux-support-d98a
Aug 28, 2026
Merged

Add Omarchy Linux support to the installer#3
DavidFeder merged 1 commit into
mainfrom
cursor/omarchy-linux-support-d98a

Conversation

@DavidFeder

Copy link
Copy Markdown
Owner

Adds first-class Omarchy support (Arch-based, DHH/Basecamp). Stock Omarchy still reports ID=arch in os-release, so detection also looks for omarchy-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

  • Detect Omarchy (and other Arch-family IDs / ID_LIKE=arch).
  • Install docker, docker-compose (v2 docker compose plugin), docker-buildx, and openssl with omarchy-pkg-add when present, else pacman -S --needed.
  • Does not run pacman -Syu, which Omarchy’s ALPM guard aborts in favor of omarchy update.
  • Enable docker.service on boot. Omarchy defaults to docker.socket only; without dockerd at boot, restart: unless-stopped containers would not come back after reboot.
  • UFW: Omarchy’s first-run firewall is deny-incoming. The installer still adds P2P (open) and LAN RPC rules; if UFW is already active it skips the “remember to enable UFW” lecture.

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.sh

Local tests (test_common.sh, test_beacon_flags.sh, shellcheck) passed. This environment is not Omarchy, so the pacman path was not executed live.

Open in Web Open in Cursor 

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>
@DavidFeder
DavidFeder marked this pull request as ready for review August 28, 2026 06:24
@DavidFeder
DavidFeder merged commit 2f81c0f into main Aug 28, 2026
1 check passed
@DavidFeder
DavidFeder deleted the cursor/omarchy-linux-support-d98a branch August 28, 2026 06:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants