Declarative Omarchy-compatible NixOS and Home Manager desktop stack built for the MacBook Air M2 (Apple Silicon / Asahi) and the Motorola Razr 60 Ultra (running natively side-by-side with Android as a systemd Linux container — managed via the SideSystem cover-screen companion app and Bluetooth HID bridge). QEMU guests support screenshots and desktop testing on ARM and x86 Linux, and the flake also exports example UEFI workstation configurations for downstream users.
See docs/VISION.md for the full architecture, docs/decisions.md (DR-1..DR-19) for recorded design decisions, and docs/showcase.md to reproduce the desktop screenshots below in QEMU/KVM.
Native hardware-notch integration in omarchy-shell (quickshell / Qt6 QML): volume, brightness & keyboard backlight OSD ears, Secure Enclave Touch ID drop-down (sudo & SSH), local Murmure voice dictation with live waveform, and MPRIS now-playing equalizer.
Dynamic Island Demo · 60 fps (1920×1080) — Watch video (04-dynamic-island-m2air.mp4) |
|---|
![]() |
Native 2560×1600 (1.6x HiDPI) Wayland captures of the starship-subtle glass desktop across three contiguous Spaces — step-by-step VM reproduction in docs/showcase.md:
Space 1 · Frosted Ghostty Terminal (singapore.webp) |
|---|
![]() |
Space 2 · Native orb-desktop (GTK4 + WebKitGTK 6.0, bologna-dome.webp) |
Space 3 · Biometric Touch ID HUD (th0rgal.touchid, kazakhstan-charyn-canyon-peaks.webp) |
|---|---|
![]() |
![]() |
omarchnix is designed to be consumed as a reusable flake input by your own personal NixOS & Home Manager configuration repo (for example, see Th0rgal/nixos-config for a personal MacBook Air M2 setup with ARM and x86 QEMU test guests):
{
inputs = {
omarchnix.url = "github:Th0rgal/omarchnix";
nixpkgs.follows = "omarchnix/nixpkgs";
apple-silicon-support.follows = "omarchnix/apple-silicon-support";
home-manager.follows = "omarchnix/home-manager";
};
outputs = { nixpkgs, apple-silicon-support, home-manager, omarchnix, ... }: {
nixosConfigurations.my-m2air = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
apple-silicon-support.nixosModules.apple-silicon-support
{
nixpkgs.overlays = [
apple-silicon-support.overlays.default
omarchnix.overlays.default
];
}
omarchnix.nixosModules.omarchnix
home-manager.nixosModules.home-manager
{
omarchnix = {
enable = true;
profile = "asahi"; # "asahi" | "spark" | "workstation" | "vm"
desktop = {
enable = true;
user = "alice";
theme = "tokyo-night"; # any of the 23+ Omarchy themes
shellBackend = "omarchy-shell"; # "omarchy-shell" (Quickshell QML) or "waybar"
autostartTty.enable = true;
};
hardware.m2air = {
enable = true;
bootloader.enable = true; # removable ARM64 UEFI GRUB on /boot
fileSystems = {
enable = true;
luksUuid = "YOUR-LUKS2-UUID";
espUuid = "YOUR-ESP-UUID";
};
};
};
}
];
};
};
}- 23+ Themes & Live Switching:
omarchnix.lib.omarchy.importThemeimports all bundled Omarchycolors.tomlpalettes (or custom directories) at Nix evaluation time;omarchnix theme set <name>switches themes live acrossomarchy-shell,foot, Hyprland,opencode,claude, andhermes. - Quickshell QML Runtime & Plugins:
pkgs.omarchnix.omarchy-shellruns upstreamomarchy-shell(Qt 6.12/quickshell) with NixOS FHS shims, whileprograms.omarchnix.plugins.locked+omarchnix plugin install <id>load validatedplugins.omarchy.orgplugins without symlinks. - Agent-First Ergonomics: Automatically provisions the governed
omarchnixsystem skill and live theme hooks foropencode,claude,codex, andhermes, backed byomarchnix statusandomarchnix check.
| Host | Architecture | Target | Purpose |
|---|---|---|---|
m2air |
aarch64-linux |
MacBook Air M2 (Asahi) | Primary Apple Silicon daily driver on stock nixos-apple-silicon + alx.sh Stage 2 + removable ARM64 UEFI GRUB (EFI/BOOT/BOOTAA64.EFI, configurationLimit = 2, UUID-mounted ESP + LUKS2 cryptroot, asahi-audio DSP, 1.6x HiDPI, dual-boot macOS). |
m2air-aurora |
aarch64-linux |
MacBook Air M2 (Aurora SEP) | m2air plus aurora-silicon/nixos-aurora: Secure Enclave, Touch ID (fprintd) for the lock screen, sudo and Polkit, and FIDO2 (aurora-fido). Runs as a daily driver on hardware; enable it with omarchnix-install-stage2 /boot, reboot, then fprintd-enroll (docs/install-m2air.md §4). |
razr (platform = "container") |
aarch64-linux |
Motorola Razr 60 Ultra (Android GKI) | Full NixOS + Hyprland desktop running natively side-by-side with Android in a droidspaces container (no VM, no dual boot, shared 5G/Wi-Fi). Managed by Th0rgal/sidesystem (Orb-style Android cover-screen app + exclusive Bluetooth keyboard/mouse HID bridge). |
spark |
aarch64-linux |
NVIDIA Grace / DGX Spark | ARM64 UEFI server & workstation (systemd-boot, hardened + Hyprland desktop). |
workstation |
x86_64-linux |
AMD / Intel desktop & cloud | Generic x86_64-linux UEFI workstation (systemd-boot, hardened + Hyprland desktop). |
rehearsal |
aarch64-linux |
Scaleway Mac mini M2 Pro (M2-L-ASAHI) |
Disposable BootROM dress rehearsal target with poweroff->reboot guard (docs/runbook-scaleway.md). |
vm |
aarch64-linux |
Plain QEMU guest | Software iteration target without Apple hardware dependencies. |
Build the Asahi/NixOS installer ISO:
$ nix build .#installer-bootstrapHome Manager activation never overwrites files you already have: the module sets
home-manager.backupFileExtension = "hm-bak", so a hand-written
~/.config/hypr/hyprland.lua or ~/.zshrc is renamed to <file>.hm-bak
instead of aborting activation.
nix copy --to ssh-ng://host requires the remote nix.settings.trusted-users to
contain your account (or a signature by a trusted key), which most hosts do not
allow. Use the bundled helper instead; it builds locally, transfers only the
missing store paths and switches the remote profile:
$ scripts/remote-switch.sh m2air thomas@192.168.1.165Known failure modes (crashed lock screen, repeated password prompts, clobbered
dotfiles, gsettings schema lookup) are collected in
docs/troubleshooting.md.
Every cell is backed by a recorded gate (CI run or runbook log in docs/logs/). No cell is marked done without evidence.
| Gate | What proves it | Status |
|---|---|---|
| G1 — flake evaluates | nix eval across all hosts + standalone module checks in CI |
passed (g1-2026-11-06.md) |
| G2 — installer ISO builds | nix build .#installer-bootstrap in CI, artifact attached |
passed (g2-2026-11-06.md) |
| G3 — VM boots shared config | QEMU boot log in docs/logs/ |
passed (g3-2026-11-06.md) |
| G4 — Asahi bootstrap on real BootROM | runbook log from the rehearsal box | M2-L-ASAHI cutover runbook + rehearsal power-guard ready; Orb Scaleway allowlist / M2-M out_of_stock logged (m5-m7-2026-11-06.md) |
| G5 — NixOS install + rebuild on rehearsal | nixos-rebuild switch log on the mini |
M2-L-ASAHI cutover runbook + rehearsal power-guard ready; Orb Scaleway allowlist / M2-M out_of_stock logged (m5-m7-2026-11-06.md) |
| G6 — Air install, dual-boot macOS kept | runbook log from the Air | hardware polish + printed runbook ready (install-m2air.md, m5-m7-2026-11-06.md) |
| G7 — security & container invariants | checks.x86_64-linux.security in CI + secret sweep |
passed (g7-2026-11-06.md) |
| G8 — Hyprland desktop via Home Manager | m2air eval + checks.x86_64-linux.desktop screenshot in CI + boat.dev toplevel build |
passed (g8-2026-11-06.md, g3-2026-11-06.md) |
- Runbooks, not memory. Every operation on real hardware is written down in
docs/before it is run, and produces a log indocs/logs/. - Gates with evidence. A gate without a recorded artifact is not passed.
- Pinned inputs.
flake.lockis committed; upgrades are deliberate commits, not surprises. - Rehearse before you cut. Nothing reaches physical BootROM without rehearsal or explicit runbook verification.
- One writer, no rebase. Straight commits on
main, or short-lived feature PRs merged cleanly. No force-push, no history rewriting.
- Touch ID / Secure Enclave on the stock
nixos-apple-siliconkernel (it needs the Aurora kernel and Stage 2 bootloader; usem2air-aurora) - Metal (does not exist on Linux; Mesa Honeykrisp Vulkan 1.4 / OpenGL 4.6 is what Asahi ships)
- Apple's verified boot / SIP inside Linux (replaced by the Asahi
m1n1+ U-Boot boot chain + LUKS2cryptroot+ NixOS store reproducibility and AppArmor/container sandboxing)
- nix-community/nixos-apple-silicon — Apple Silicon hardware module and installer bootstrap
- Asahi Linux — kernel,
m1n1,asahi-audio, Mesa Honeykrisp - Omarchy — theme, shell, and plugin ecosystem compatible with
omarchnix



