Omarchy Mac: The Arch Setup for Apple Silicon
Omarchy Mac: The Revolutionary Arch Setup for Apple Silicon
Turn your M1/M2 Mac into a Linux powerhouse with this opinionated Arch Linux and Hyprland configuration. Say goodbye to compatibility headaches and hello to bleeding-edge performance.
Apple Silicon Macs revolutionized computing, but Linux users faced a frustrating dilemma. The hardware was incredible, yet running Linux natively felt like solving a Rubik's cube blindfolded. Enter Omarchy Mac—a game-changing project that transforms the complex process of installing Arch Linux on M1/M2 chips into a streamlined, beginner-friendly experience. This isn't just another Linux distribution; it's a meticulously crafted environment that combines the raw power of Arch Linux with the sleek efficiency of Hyprland, all optimized specifically for Apple's ARM architecture.
In this comprehensive guide, we'll dive deep into what makes Omarchy Mac special, walk through real installation scenarios, and show you exactly how to get this revolutionary setup running on your machine. Whether you're a developer craving Linux tools on your MacBook or a power user seeking the perfect tiling window manager experience, this article delivers everything you need to succeed.
What is Omarchy Mac?
Omarchy Mac is an opinionated Arch Linux and Hyprland configuration designed exclusively for Apple Silicon Macs. Created by developer malik-na, this project builds upon the groundbreaking work of Asahi Linux and Asahi Alarm to deliver a ready-to-use Linux environment that respects both the unique hardware of M1/M2 chips and the productivity needs of modern developers.
At its core, Omarchy Mac solves three critical problems. First, it eliminates the weeks of configuration typically required to get Arch Linux functional on Apple Silicon. Second, it provides a polished Hyprland experience out-of-the-box—complete with sensible defaults, keybindings, and hardware-specific tweaks. Third, it maintains the rolling-release nature of Arch while adding stability layers specifically tested on Apple hardware.
The project has gained rapid traction in the developer community because it bridges a crucial gap. While Asahi Linux provided the foundation (drivers, kernel patches, and bootloader), and Asahi Alarm offered a minimal Arch base, Omarchy Mac delivers the complete desktop experience. Users don't just get a bootable system; they get a productive workspace with window management, application launchers, and system utilities that feel native to the hardware.
What sets this apart from running Linux in Parallels or UTM? Native performance. Omarchy Mac runs directly on the metal, leveraging Apple's M1/M2 chips without virtualization overhead. This means full access to CPU performance, hardware acceleration, and memory bandwidth—critical for development workflows, compilation tasks, and creative work.
Key Features That Make Omarchy Mac Essential
Hardware-First Design Philosophy Every configuration decision in Omarchy Mac prioritizes Apple Silicon compatibility. The installation process automatically detects your specific Mac model (MacBook Air, MacBook Pro, Mac Mini) and applies appropriate kernel parameters, driver configurations, and power management settings. This isn't generic Linux—it's Apple Silicon Linux.
Seamless Dual-Boot Integration The project respects your macOS installation. Using Asahi's proven partition manager, Omarchy Mac installs alongside macOS without touching your main system. The bootloader presents a clean menu at startup, letting you choose between macOS and Linux effortlessly. Your Time Machine backups remain untouched, and FileVault encryption continues working normally.
Automated Hyprland Configuration Hyprland, the dynamic tiling Wayland compositor, can be intimidating to configure manually. Omarchy Mac ships with a pre-tuned hyprland.conf that includes:
- Touchpad gestures optimized for MacBook trackpads
- Keyboard shortcuts that feel natural to macOS converts
- Display scaling perfect for Retina displays
- Auto-start applications and services
- Window rules for common apps
AUR Integration via Yay Access to the Arch User Repository (AUR) is non-negotiable for many Arch users. Omarchy Mac streamlines this by installing yay (a trusted AUR helper) during setup. This gives you instant access to thousands of community packages, from development tools to niche utilities, all managed through familiar pacman-like commands.
Intelligent Mirror Management Slow downloads can kill the Arch experience. The project includes a fix-mirrors.sh script that automatically detects your location and updates pacman mirrorlists for optimal speed. If regional mirrors fail, it falls back to reliable US servers, ensuring updates never stall.
External Display Support Apple Silicon's display controller is unique. Omarchy Mac includes configurations tested with various external monitors, docks, and display arrangements. The project maintainers actively discuss solutions in GitHub Discussions, creating a living knowledge base for display issues.
NetworkManager Integration Wi-Fi and networking work out-of-the-box with nmtui and nmcli tools pre-configured. The setup handles Apple's proprietary wireless hardware through Asahi's reverse-engineered drivers, providing stable connections without manual firmware hunting.
Real-World Use Cases Where Omarchy Mac Shines
The Cross-Platform Developer Imagine you're building a Go application that must compile for Linux ARM, Linux x86, and macOS. With Omarchy Mac, you can dual-boot into Linux natively, test ARM builds directly, then reboot into macOS for Xcode work. No Docker emulation lag, no cloud instance costs—just pure, native compilation on the same hardware. The tiling WM boosts productivity when juggling terminals, browsers, and documentation.
The Linux-First Power User You love Arch Linux's bleeding-edge packages but bought a MacBook for its battery life and build quality. Omarchy Mac gives you the best of both worlds. Run the latest Linux kernel with Hyprland's gorgeous animations while enjoying 15-hour battery life and a trackpad that actually works properly. The pre-configured touchpad gestures feel identical to macOS, reducing context-switching friction.
The Security Researcher Testing security tools often requires direct hardware access. Virtual machines hide timing attacks and obscure hardware vulnerabilities. Omarchy Mac provides native Linux access to Apple's ARM implementation, allowing researchers to study TrustZone, analyze power management, or test cryptographic performance on real M1/M2 silicon—all while keeping a pristine macOS partition for daily work.
The Minimalist Seeking Escape from macOS Maybe you're tired of Apple's walled garden but love the hardware. Omarchy Mac offers a clean break. The installation gives you a minimal Arch system without macOS bloat, yet preserves the ability to boot back into macOS for firmware updates or proprietary software emergencies. It's the perfect transitional setup for those testing the Linux waters.
Step-by-Step Installation & Setup Guide
Phase 1: Prepare Your Mac Before touching the terminal, complete these critical steps. Back up your entire macOS system using Time Machine or Carbon Copy Cloner. This is non-negotiable—while the installer is safe, power failures or user errors can corrupt data. Verify you have at least 50 GB free (100 GB recommended) by checking "About This Mac > Storage". Ensure you're connected to stable Wi-Fi, as the installer downloads several gigabytes.
Phase 2: Run the Asahi Alarm Installer Open Terminal in macOS and execute the official Asahi Alarm bootstrap:
curl https://asahi-alarm.org/installer-bootstrap.sh | sh
This command downloads and launches a graphical installer. When prompted, select "Asahi Arch Minimal" from the menu. The installer will ask how much space to allocate—choose at least 50 GB, but 80-100 GB gives you room to grow. The process takes 15-30 minutes, depending on your internet speed.
Phase 3: Initial Arch Linux Configuration After rebooting into Linux, you'll see a login prompt. Log in as root (password: root). First, configure Wi-Fi if needed:
# Launch interactive network manager
nmtui
Select "Activate a connection" and choose your Wi-Fi network. If you see errors, reboot and retry—this is normal on first boot.
Next, update the system and install essentials:
# Update all packages to latest versions
pacman -Syu
# Install must-have packages for development
pacman -S --needed sudo git base-devel chromium
The --needed flag prevents reinstalling existing packages, saving time. Now configure locales for proper UTF-8 support:
# Generate en_US.UTF-8 locale
locale-gen
# Reboot to apply changes
reboot
# After reboot, verify locale is correct
locale # Should show UTF-8 entries
Phase 4: Create Your User Account Running as root is dangerous. Create a regular user with sudo privileges:
# Create user and add to wheel group (replace <username>)
useradd -m -G wheel <username>
passwd <username>
# Enable sudo for wheel group
EDITOR=nano visudo
In the nano editor, uncomment this line by removing the #:
%wheel ALL=(ALL:ALL) ALL
Save with Ctrl+O, exit with Ctrl+X, then switch to your new user:
su - <username>
Phase 5: Install Yay and Omarchy Mac As your regular user, install the AUR helper and Omarchy Mac:
# Clone and build yay (AUR helper)
git clone https://aur.archlinux.org/yay.git
cd yay
makepkg -si
# Clone Omarchy Mac installer
git clone https://github.com/malik-na/omarchy-mac.git ~/.local/share/omarchy
cd ~/.local/share/omarchy
# Run the automated installer
bash install.sh
Enter your password when prompted. The script installs Hyprland, configuration files, themes, and utilities. If mirrors fail during installation, run:
bash fix-mirrors.sh
Then retry bash install.sh.
Phase 6: First Boot and Verification Reboot and hold the power button to access the boot menu. Select the Linux entry. You should see Hyprland's elegant login screen. Test critical hardware:
- Display: Check resolution and scaling
- Keyboard: Test brightness/volume keys
- Touchpad: Try gestures and scrolling
- Wi-Fi: Browse in Chromium
- External Monitor: Connect if available
REAL Code Examples from the Repository
Let's examine the actual commands you'll use, with detailed explanations of what each does.
Example 1: The Bootstrap Command
curl https://asahi-alarm.org/installer-bootstrap.sh | sh
What this does: This one-liner downloads the Asahi Alarm installer script and pipes it directly to sh for execution. It's the official entry point recommended by the Asahi project. The script performs hardware compatibility checks, downloads the full installer (~200 MB), and launches a user-friendly graphical interface. Why it matters: This approach ensures you always get the latest installer version without manual downloads. The graphical UI guides partition resizing, bootloader installation, and OS selection—critical steps that prevent data loss.
Example 2: System Initialization and Package Management
# Update package database and upgrade all installed packages
pacman -Syu
# Install essential packages with smart dependency handling
pacman -S --needed sudo git base-devel chromium
Deep dive: pacman -Syu is Arch's heartbeat. -S syncs packages, y refreshes the package database, and u upgrades all outdated packages. Running this on first boot ensures you have the latest security patches and driver updates for Apple Silicon.
The second command installs the foundation: sudo for privilege escalation, git for version control, base-devel for compiling AUR packages (includes gcc, make, etc.), and chromium as a reliable browser. The --needed flag is crucial—it skips packages already installed, preventing redundant operations and potential conflicts.
Example 3: User Creation with Proper Permissions
# Create a new user with home directory and wheel group membership
useradd -m -G wheel <username>
# Set the user's password
passwd <username>
# Edit sudoers file safely using nano
EDITOR=nano visudo
Security implications: The -m flag creates a home directory at /home/<username>, essential for proper user isolation. -G wheel adds the user to the wheel group, Arch's traditional group for sudo access. Using visudo instead of editing /etc/sudoers directly prevents syntax errors that could lock you out of root access. Setting EDITOR=nano makes this beginner-friendly—nano shows keyboard shortcuts at the bottom.
Example 4: AUR Helper Installation
# Clone yay from AUR
git clone https://aur.archlinux.org/yay.git
cd yay
# Build and install the package
makepkg -si
Compilation explained: git clone fetches the PKGBUILD script and source files from the AUR. makepkg -si does heavy lifting: -s automatically installs build dependencies, -i installs the resulting package. This process compiles yay from source, giving you a native binary that securely handles AUR packages. Yay caches build files in ~/.cache/yay, enabling quick updates later.
Example 5: Network Troubleshooting Commands
# Check network device status
nmcli device status
# List available Wi-Fi networks
nmcli device wifi list ifname wlan0
# Connect to a specific network
nmcli device wifi connect "SSID_NAME" password "PASSWORD" ifname wlan0
# Restart NetworkManager service
sudo systemctl restart NetworkManager
# View NetworkManager logs
sudo journalctl -u NetworkManager -b
Diagnostic power: These commands provide granular network control when nmtui fails. nmcli device status shows if the wireless card is recognized—a common issue on first boot. The Wi-Fi connect command is invaluable for headless setups or when the UI freezes. journalctl -u NetworkManager -b shows logs since last boot, revealing driver issues or authentication failures specific to Apple's wireless hardware.
Example 6: Mirror List Optimization
# Backup original mirror list
sudo cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
# Edit mirrors manually
sudo nano /etc/pacman.d/mirrorlist
Performance impact: Arch mirrors sync every few hours, but regional mirrors can be slow or outdated. The backup step is critical—if you corrupt the mirror list, pacman breaks. The fix-mirrors.sh script automates this, but manual editing lets you prioritize specific mirrors. For Apple Silicon users, this is especially important during initial installation when downloading large GPU driver packages.
Advanced Usage & Best Practices
Customizing Hyprland
After installation, your config lives in ~/.config/hypr/hyprland.conf. Don't edit this directly. Instead, create ~/.config/hypr/custom.conf and import it in the main file. This preserves your changes during updates. For example:
# In hyprland.conf, add:
source = ~/.config/hypr/custom.conf
Updating Safely
Omarchy Mac follows Arch's rolling release model. Update weekly, not daily, to balance stability and freshness. Always read the Arch news feed before major updates: curl -s https://archlinux.org/news/ | grep -A 5 -B 5 "asahi". Asahi-specific kernel updates sometimes require manual intervention.
External Monitor Mastery
Apple Silicon's display pipeline differs from x86. For external monitors, consult the GitHub Discussion #73. Key tips: Use DisplayPort over USB-C when possible, avoid HDMI adapters that don't support the correct EDID, and configure refresh rates in Hyprland's monitor section using monitor=HDMI-A-1,2560x1440@120,0x0,1 syntax.
Battery Optimization
While Asahi's kernel includes Apple-specific power management, Hyprland can be tuned further. Enable exec-once = systemctl --user start power-profiles-daemon in your Hyprland config, then use powerprofilesctl to switch between performance and power-saver modes. This can extend battery life by 20-30% compared to default settings.
AUR Package Hygiene
Limit AUR packages to essentials. Each AUR package adds compilation time and potential breakage risk. Use yay -Yc periodically to clean unneeded dependencies. For critical work, maintain a list of installed AUR packages: yay -Qqm > ~/aur-packages.txt. This aids disaster recovery.
Comparison with Alternatives
| Feature | Omarchy Mac | Vanilla Asahi Alarm | Fedora Asahi | Parallels VM |
|---|---|---|---|---|
| Setup Time | 30 minutes | 2-4 hours | 45 minutes | 15 minutes |
| Hyprland Config | Pre-configured | Manual only | GNOME default | Not applicable |
| Native Performance | Yes | Yes | Yes | No (virtualized) |
| AUR Access | Automated (yay) | Manual setup | Limited (RPM Fusion) | Full but slower |
| External Monitors | Community-tested | Experimental | Good | Excellent |
| Learning Curve | Beginner-friendly | Expert | Intermediate | Beginner |
| Update Frequency | Rolling release | Rolling release | Point releases | Host-dependent |
| Disk Space | ~15 GB base | ~8 GB base | ~20 GB base | ~50 GB dynamic |
Why Omarchy Mac Wins: For developers wanting a tiling WM on Apple Silicon, it eliminates the steepest part of the learning curve. Fedora Asahi is excellent but locks you into GNOME. Parallels is convenient but sacrifices 20-40% performance and adds $99/year cost. Vanilla Asahi Alarm gives you maximum control but requires weeks of configuration. Omarchy Mac hits the sweet spot: opinionated enough to work immediately, flexible enough to customize deeply.
Frequently Asked Questions
Is Omarchy Mac safe for my Apple Silicon Mac? Yes. It uses Asahi Linux's officially supported bootloader and drivers. The installation is non-destructive to macOS. However, always backup data first—user error during partitioning is the only real risk.
Will this void my warranty or affect macOS updates? No. Apple Silicon doesn't have warranty-voiding mechanisms. macOS updates continue normally. The Linux partition appears as "Other" in Disk Utility. Firmware updates from Apple still apply when booted into macOS.
How much disk space should I allocate? Minimum 50 GB for basic use. For development with multiple toolchains, Docker, and AUR packages, allocate 100-150 GB. Remember to leave at least 50 GB free in macOS for optimal performance and updates.
Can I uninstall Omarchy Mac completely?
There's no automatic uninstaller, but removal is straightforward. Boot into macOS, open Disk Utility, and delete the Linux partitions. Then run sudo bless --device /dev/disk0s1 --setBoot in Terminal to reset the default boot. A visual guide is available in the README.
Does external monitor support really work? Yes, with caveats. Most USB-C/Thunderbolt docks work. HDMI can be finicky due to Apple's display controller. Check GitHub Discussion #73 for your specific monitor/dock combination. The community actively tests and documents solutions.
How does performance compare to macOS? CPU performance is 95-100% of macOS native. GPU acceleration is improving rapidly but currently reaches 70-80% for OpenGL/Vulkan workloads. Battery life is 80-90% of macOS. For development and terminal work, the difference is negligible.
How often should I update the system?
Run yay weekly for a balance of stability and security. Daily updates can introduce breakage. Always check Asahi Linux's blog before major kernel updates, as they sometimes require manual intervention for Apple Silicon-specific patches.
Conclusion
Omarchy Mac represents a watershed moment for Linux on Apple Silicon. It takes the heroic but complex work of Asahi Linux and packages it into a productive, beautiful, and accessible experience. The project's opinionated nature is its strength—you get a system that works immediately, yet retains Arch's legendary flexibility.
For developers, power users, and Linux enthusiasts trapped in Apple's ecosystem, this is your escape hatch. You keep the world-class hardware and battery life while gaining the freedom of Linux. The Hyprland configuration alone saves hours of tweaking, and the community support through Discord and GitHub Discussions provides a safety net for newcomers.
The installation process is remarkably robust for such a young project. The detailed code examples and troubleshooting steps show real-world battle testing. While external monitor support remains a work in progress, the active community and rapid development cycle mean improvements arrive weekly.
My verdict? If you own an Apple Silicon Mac and have been curious about Linux, stop waiting. Omarchy Mac delivers on its promise of a streamlined, powerful Arch experience. The dual-boot setup lets you retreat to macOS when needed, making it a zero-risk experiment with potentially massive productivity gains.
Ready to transform your Mac? Star the repository and start your installation today. Join the Discord community for real-time help, and share your experience on Twitter/X @tiredkebab to help others discover this revolutionary tool.
Comments (0)
No comments yet. Be the first to share your thoughts!