Installation and first-run provisioning
Omarchy turns a base Linux system into a ready desktop by installing a defined package set, applying system and hardware settings, preparing the login path, and completing user setup. The process supports both a normal install with a known user and a deferred install where the machine owner completes setup on first boot.
Installation model
Target system assembly
The installer builds the target in stages. It first places the packages on the target, then applies system settings, hardware support, platform setup, login behavior, and post-install state. The stages share one install layout so the same setup can run during a fresh install or during later system maintenance.
The main system setup entry point is bin/omarchy-apply-system. It coordinates configuration, hardware, login, and post-install work. User-specific work runs separately because it needs the target user's home and user session.
The install and deferred first-boot paths use the same progress display. Each caller owns its stage model, while the shared display keeps the visual progress and status format consistent when setup continues after reboot. The display adapts its icon and text layout to the active terminal, so the handoff remains readable on both the install console and the first-boot console.
References: bin/omarchy-apply-system• L13-23 bin/omarchy-apply-system• L88-102 install/…/all.sh• L1-14 install/…/all.sh• L1-97 install/…/progress-icon.sh• L1-17 install/…/progress-icon.sh• L289-370
Installation modes
Omarchy supports a guided install, a free-space install beside another system, and an unattended install. A free-space install keeps the other system by using available disk space. An unattended install reads configuration from a cidata drive and can skip the setup wizard.
The unattended path can either create the configured user during installation or defer personal setup. Deferred mode leaves the machine ready for its owner to choose a keyboard, account, host name, and time zone on first boot. See Install stages and package sets for the install sequence and Machine provisioning and unattended setup for the unattended and owner flows.
References: manual/50-dual-boot-install.md• L25-31 manual/51-unattended-installs.md• L1-23 bin/omarchy-apply-system• L13-23
Package sets
Core desktop set
The core package set defines the normal Omarchy environment. It supplies the desktop, terminal and shell tools, browsers, media tools, development tools, fonts, input methods, network tools, realtime audio support, and system services expected after installation. The ISO uses this same list when it builds its offline package mirror, so the install can rely on a known baseline.
The set includes the OWE desktop video background and lock-screen feed packages. It also includes the default Superwhisper dictation backend, whose per-user setup runs after login when dictation is selected. These packages make desktop video backgrounds, lock-screen frames, and the default dictation path part of the standard desktop baseline rather than optional later features.
The broader ISO availability list keeps kernels, graphics stacks, hardware support, and model-specific packages available for hardware setup even when they are not part of every machine's baseline. It also keeps camera, firmware, vendor, and optional device packages available to matching hardware paths, including the FaceTime HD camera and Elgato Cam Link support.
References: install/omarchy-base.packages• L1-3 install/omarchy-base.packages• L105-115 install/omarchy-base.packages• L143-150 install/omarchy-other.packages• L1-3 install/omarchy-other.packages• L15-47 install/omarchy-other.packages• L76-123
Platform support set
Platform support is composed from architecture-specific package sets. The common ARM set adds shared ARM support, while platform-specific sets add the tools required by each machine family. The x86-only set remains a compatibility split for packages that have no ARM build.
The N1x set defines the platform's kernel, open NVIDIA graphics stack, video acceleration, container access, and hardware probe tools. Hardware setup then decides how those packages operate from the machine's firmware state. Release firmware can let the GPU drive the panel, while older N1x firmware keeps the NVIDIA stack unloaded so the desktop remains usable.
Qualcomm systems receive board-aware device-tree, firmware, wireless, audio, early-boot, shutdown, power-response, and browser video-decode support. Other hardware paths provide their own model and vendor support, including panel selection, Surface input support, camera support, thermal control, Vulkan drivers, and sleep behavior. These paths are selected only for matching hardware.
References: install/omarchy-aarch64.packages• L1-9 install/omarchy-aarch64-n1x.packages• L1-14 install/omarchy-x86_64-only.packages• L1-2 install/omarchy-other.packages• L59-92 install/omarchy-other.packages• L107-123 install/…/all.sh• L11-27 install/…/all.sh• L65-97 install/…/n1x.sh• L6-12 install/…/n1x.sh• L76-96 install/…/vulkan.sh• L1-27 install/…/video-decode.sh• L1-3
Configuration deployment
System configuration
System configuration makes the installed packages act as one desktop. It sets service enablement, network behavior, firewall policy, Docker integration, snapshots, browser policy, access controls, and secure remote-shell behavior. It also repairs a stock unset or C/POSIX locale to en_US.UTF-8 while leaving a named locale unchanged.
An optional language marker adds locale data for a preset desktop language while keeping the system locale in English for console use. A region profile can also add session environment values for regional package mirrors. Invalid marker values are ignored. The changes are prepared for the installed system and take effect through the normal reboot and service start path.
The configuration stage starts the machine's package trust setup when an ARM first install needs one. Post-install work waits for that setup, moves the completed keyring into place, restores the platform's package sources and channel, and trusts the installed keyring before the first signed sync. Image builds defer keyring creation to each machine's first boot so machines do not share trust material.
The install also applies managed browser policy to the supported Chromium-family browsers and seeds Chrome and Chromium to follow the system color scheme without a first-run terms dialog. Browser policy directories are owned and controlled by the system so browser settings cannot silently replace Omarchy's default-browser links.
The post-install step restores the target's package sources after offline installation. Each platform maps to the repository template family it supports and each platform has a default channel; Apple Silicon defaults to edge while the other supported platforms default to stable. It also restores the CUPS file with its service ownership after package installation. Services are enabled for the next boot rather than started inside the install environment, and network-online waiting is disabled so the graphical session does not block on association.
References: install/…/all.sh• L1-14 install/…/pacman-keyring.sh• L1-4 install/…/pacman-keyring.sh• L27-36 install/…/pacman-keyring.sh• L38-84 install/…/browser-policy.sh• L1-3 install/…/browser-policy.sh• L7-12 install/…/browser-policy.sh• L82-105 install/…/locale.sh• L13-50 install/…/language.sh• L1-13 install/…/region.sh• L1-8 install/…/enable-services.sh• L1-20 install/…/pacman.sh• L1-34 install/…/pacman.sh• L1-47
Hardware configuration
Hardware configuration turns the platform package pool into a machine-specific boot and device setup. The stage detects the architecture, platform, device tree, firmware, and model, then applies only the matching support. It runs common device setup before the final platform step because platform setup may rebuild or publish the boot state.
The hardware paths cover ordinary device support and early-boot needs. On supported Qualcomm machines, the display, keyboard, firmware, device-tree, and platform drivers can enter the boot image so disk unlock is visible and usable. Model paths extend that support for newer Lenovo, Microsoft, HP, Samsung, and Apple systems.
Other paths select graphics and Vulkan support, reserve integrated-GPU memory, add camera firmware when licensing permits a first-boot fetch, enable thermal control on supported Intel laptops, and protect device drivers around model-specific hibernation. These changes keep the installed system usable without making every machine carry every hardware rule.
N1x setup also makes the display policy depend on firmware capability. Compatible firmware enables early NVIDIA display support and boot brightness handling. Firmware that cannot start the GPU keeps the stack disabled and uses the safe display path instead.
References: install/…/all.sh• L11-27 install/…/all.sh• L35-63 install/…/all.sh• L65-97 install/…/gpu-memory.sh• L1-4 install/…/vulkan.sh• L1-27 install/…/fix-facetimehd.sh• L1-31 install/…/fix-hp-zbook-ultra-g3a-display.sh• L1-20 install/…/thermald.sh• L1-13 install/…/yoga-slim7x.sh• L1-95 install/…/yoga-slim7x-hibernate.sh• L1-159 install/…/surface-laptop-7.sh• L1-74 install/…/hamoa-display.sh• L1-45 install/…/galaxy-book4-edge-14.sh• L1-55 install/…/n1x.sh• L76-192
User configuration
User configuration starts after an account exists. It prepares the home area, applies user settings, installs user-level tools, sets desktop and browser defaults, registers browser integrations, and runs the user install group. The group also applies supported machine-specific user fixes and prepares the keyring, command tools, input methods, regional settings, and platform settings needed by the first session.
The default work setup creates ~/Work and ~/Work/tries. The mise stage refreshes command shims for the default tools and account dispatchers declared by the system configuration. It performs both refreshes in offline mode, so first-run setup does not need to resolve tool versions over the network.
The user stage seeds the input method configuration, regional home settings, and the user's theme state. A new user starts with the theme selected by the active region unless a theme already exists. On virtual machines, it starts with animations and window transparency disabled because software rendering can make them costly. Qualcomm users also receive the browser video-decode setup when their machine supports it.
The user stage is separate from the root-owned system stage because some settings need HOME, a real user identity, or a live user session. The first login adds the remaining session work that cannot run in the install target.
References: bin/omarchy-provision-user• L8-22 bin/omarchy-provision-user• L56-67 bin/omarchy-provision-user• L84-130 install/…/all.sh• L1-21 install/…/chromium.sh• L1-6 install/…/language.sh• L1-7 install/…/region.sh• L1-7 install/…/input-method.sh• L1 install/…/mise.sh• L1-4 install/…/mise-work.sh• L1-3 install/…/video-decode.sh• L1-3 install/…/vm-no-animations.sh• L1-11 install/…/theme.sh• L1-23
Login and first-run setup
Login handoff
The login layer prepares SDDM to start the Omarchy desktop with the installed account. On a normal install, the ISO owns the account and initial login state. On a deferred install, owner provisioning creates the account first and then writes the login state.
The login setup also keeps the keyring behavior consistent with Omarchy's passwordless default keyring. System services such as NetworkManager, SDDM, Docker, printing, and power management are enabled for the next boot rather than started inside the install environment.
References: install/…/sddm.sh• L1-7 install/…/enable-services.sh• L1-20 bin/omarchy-provision-owner• L768-811
First-run session
The first-run stage completes work that needs the user's live desktop. It enables user services, installs update hooks, applies session preferences such as the GNOME dark theme, tunes supported audio, and sends welcome or network notices. Network checks run in the background so a slow or absent connection does not block the rest of first run.
After NetworkManager reports its startup result, the session prompts for Wi-Fi when no connection exists and waits for a link before it offers package setup or an update action. Once online, it offers the agent and fingerprint setup invitations when each still needs setup, then suppresses the update notice when the installed system is already current. The stage records its result per user and retries on the next login if one or more steps fail.
The session also completes the default dictation setup when the installed package and user preference select Superwhisper. It runs without opening a settings window or requiring a user action, so the live session receives its service, shortcuts, and panel support after the base package is already present.
This stage is the final bridge between an installed account and a usable Omarchy session. It does not replace user finalization; it follows it and handles tasks that require the running user manager or desktop session.
References: bin/omarchy-provision-first-run• L11-15 bin/omarchy-provision-first-run• L39-46 bin/omarchy-provision-first-run• L71-99 install/…/enable-user-units.sh• L1-47 install/…/gnome-theme.sh• L1-3 install/…/wifi.sh• L1-30 install/…/superwhisper.sh• L1-12 install/…/git.sh• L1-5 install/…/setup-agent.hook• L1-12
Owner provisioning
Deferred account setup
Deferred provisioning is the owner-facing path for machines installed without personal details. The install records pending state and stores the system choices needed to recreate the user's groups and access. A first-boot system service runs on the first virtual terminal before SDDM, so the owner can finish setup before a graphical login is available.
The setup form is shared with the install configurator. This keeps the language, keyboard choices, account rules, host name, and time-zone behavior the same in both paths. Language defaults can supply a keyboard and time zone through install/…/language-defaults.json; install-media defaults still take precedence. The owner confirms the values before system changes are applied.
The first-boot console uses the same kmscon font and keyboard setup as the installer. OEM data can add a name, logo, color, tagline, and agreement for the owner to review before account creation. These assets change the presentation of setup without changing the account or system contract.
The form gives both callers the same result for a completed field, a request to go back, or an interrupt. This keeps cancellation and backtracking behavior consistent even though the installer and first-boot service handle the interrupt in different ways. The progress display is also shared, so the owner sees the same installation status style when deferred setup resumes on the first virtual terminal.
References: install/…/omarchy-provision-owner.service• L1-35 install/…/kmscon.sh• L1-20 install/…/setup-form.sh• L1-35 install/…/setup-form.sh• L176-194 install/…/setup-form.sh• L306-332 install/…/language-defaults.json• L1-52 install/…/oem.sh• L1-14 bin/omarchy-provision-owner• L43-54 bin/omarchy-provision-owner• L645-678
Provisioning completion
After confirmation, owner provisioning creates or resumes the user, applies the saved group policy, installs optional SSH keys, and sets the host name and time zone. It then runs user finalization, prepares the login handoff, and removes the temporary provisioning state.
Encrypted deferred installs use a resumable LUKS re-key path during setup. The process adds the owner's password while the staged key remains available, removes boot-time auto-unlock, rebuilds the boot files, and then retires the staged key and other old slots. A durable phase journal keeps the operation retryable when disk or boot work fails, and verification blocks cleanup until only the owner's key remains.
The flow below shows how a deferred install moves from pending state to the normal desktop session.
flowchart TD
A[Base system installed] --> B[Pending provisioning state]
B --> C[First-boot owner setup on tty1]
C --> D[Language keyboard and account details]
D --> E[User and system finalization]
E --> F{Encrypted install?}
F -- Yes --> G[Replace temporary disk key]
F -- No --> H[Refresh boot state if needed]
G --> H
H --> I[Remove provisioning state]
I --> J[Start SDDM and Omarchy session]
References: install/…/luks-rekey.sh• L18-25 install/…/luks-rekey.sh• L213-290 bin/omarchy-provision-owner• L7-16 bin/omarchy-provision-owner• L726-855 bin/omarchy-provision-owner• L854-927 bin/omarchy-provision-owner• L999-1040
Change checklist
When these files or sections are changed, remember to consider these:
- Keep
install/omarchy-base.packagesaligned with the ISO's offline mirror and with features described as part of the default desktop, including OWE and the default dictation backend. - Keep architecture package sets aligned with the package defaults that select them, the available repository builds, and the hardware paths that consume them.
- Keep N1x package selection aligned with its firmware-based GPU policy, input support, USB4 settings, and rescue boot behavior.
- Keep model-specific package availability aligned with the hardware paths for all supported models, including the new FaceTime HD, HP ZBook, Lenovo Yoga Slim 7x, Surface Laptop 7, Samsung Galaxy Book4 Edge 14, and Qualcomm display paths.
- Keep platform setup after hardware setup so platform boot and system hooks see the packages and device state they require.
- Keep Qualcomm device-tree refresh, board display setup, early-boot modules, OEM firmware selection, video decode support, reboot-watchdog policy, and the Snapdragon power-profile floor aligned with the board support that consumes them.
- Keep the browser policy directories and browser initial preferences aligned with the browsers supported by the system and user browser stages.
- Keep the order and ownership boundaries in
bin/omarchy-apply-systemaligned with scripts that require a target user, a target chroot, or a live user session. - Keep the
miseshim refresh aligned with the system declarations for default tools and account dispatchers, and keep it offline during provisioning. - Keep the preset language marker, region environment, region home seed, region theme, and language-defaults.json contract aligned between install media, system locale generation, user setup, and first-boot setup.
- Keep the shared prompts in install/…/setup-form.sh compatible with both the ISO configurator and
bin/omarchy-provision-owner, including default values, language, time-zone search, and status behavior. - Keep the
kmscon, console font, progress icon, and OEM bundle contract compatible with both the installer and first-boot setup. - Keep pending-state cleanup, login handoff, and encrypted-install key removal consistent so a failed first boot remains retryable.
- Keep the LUKS re-key journal phases, boot-file rebuild, slot recording, and staged-key removal in one safe order.
- Keep locale repair limited to stock
C/POSIXstate so an explicit machine locale is not overwritten. - Keep first-run completion markers aligned with the steps in
bin/omarchy-provision-first-run; a stale marker can silently skip session setup. - Keep first-run network waiting and package invitations ordered so package actions run only after a usable link exists.
- Keep pacman template mappings and platform default channels aligned so every supported platform resolves to a valid repository configuration; Apple Silicon must retain its edge default.
- Keep ARM keyring setup aligned with image builds that defer trust initialization to first boot and with the first signed package sync.
- Keep the CUPS override ownership and post-package restore aligned with the service account that must read the file.
Important failure modes
| Trigger | Consequence | Guard |
|---|---|---|
| A package is in the core list but is not available to the ISO mirror | A fresh install cannot build the expected baseline offline | The ISO builder reads install/omarchy-base.packages for mirror contents |
| OWE or Superwhisper packages are missing from the core list | Desktop video backgrounds, lock-screen frames, or the selected dictation path are not available in a base install | Keep the default desktop package set complete and keep its entries in the ISO package source |
| A platform package set does not match its hardware path | A machine can miss required drivers, firmware, boot support, or GPU support | Keep the architecture and model package sets aligned with install/…/all.sh |
| ARM repository sources are used before the machine keyring is trusted | The first signed package sync can fail | Start the per-machine keyring early and finish it before restoring repositories |
| An image build shares one initialized keyring between machines | Machines made from the image share trust material | Defer keyring creation to each machine's first boot |
| A Qualcomm display or input path is not present in the boot image | The disk-unlock prompt can be black or cannot accept input | Keep platform and model early-boot support aligned with the selected device tree |
| N1x firmware, kernel, or GPU policy does not match the selected display path | The display can fail to start or the system can lose its usable rescue path | Apply the N1x hardware policy before the final boot image build and retain the text rescue entry |
| A model path selects the wrong hardware identity | Audio, display, input, camera, or resume support can be applied to the wrong machine | Gate model support on the tested product name or device tree |
| A camera firmware fetch is enabled without a network on the install boot | The device works only after a later fetch or reports missing firmware | Enable the fetch service and start it on the first network-capable boot |
A base image keeps the stock C or POSIX locale | Sorting and text encoding can behave differently from the expected desktop environment | Generate en_US.UTF-8 only for an unset or stock locale |
| Browser policy paths are writable or contain non-system policy files | Browser defaults or theme settings can be bypassed or replaced by stale state | Build managed paths as root-owned system directories and install policy files as root |
| User theme setup overwrites an existing theme | Re-provisioning changes the user's selected desktop theme | Seed the active region theme only when no current theme exists |
| Deferred provisioning runs while a factory wipe is pending | A new account can be created on a system that the next wipe attempt removes | omarchy-provision-owner.service blocks on the wipe-pending marker |
| User finalization fails during owner setup | The desktop can start with incomplete user settings | Record the failure and allow the owner to rerun user provisioning |
| The owner password matches the staged install key or the re-key cannot verify the final slots | Provisioning stops without removing the temporary unlock path | Keep the re-key journal and staged key for retry |
| A first-run step fails | Some live-session features remain unset until a later login | Write the per-user completion marker only when all steps succeed |
| First-run package invitations run before a network link exists | Package setup fails or the invitation leads to an unusable action | Run package hooks only after the network wait completes |
| An OEM bundle has invalid or unsafe presentation data | Owner setup can show broken branding or reject the bundle | Validate OEM data before placing it in /etc/omarchy/oem and sanitize displayed text |
Key files
| File | Why to read it |
|---|---|
bin/omarchy-apply-system | Shows the root-owned system setup boundary and stage order. |
install/omarchy-base.packages | Defines the default Omarchy desktop baseline and the ISO's offline package source. |
install/omarchy-aarch64-n1x.packages | Defines the N1x platform additions for the kernel, NVIDIA graphics, and hardware probing. |
install/omarchy-other.packages | Shows packages kept available for hardware setup, boot support, drivers, optional machine features, and camera support. |
| install/…/all.sh | Shows the system configuration scope, regional deployment, and early trust setup. |
| install/…/enable-services.sh | Shows which services are prepared for the next boot. |
| install/…/region.sh | Shows how region session environment is deployed. |
| install/…/pacman-keyring.sh | Shows how ARM first installs build a per-machine package keyring. |
| install/…/pacman.sh | Shows how platforms select repository templates and default channels. |
| install/…/pacman.sh | Shows how offline package sources, platform trust, and package-owned overrides are restored. |
| install/…/all.sh | Shows how hardware support is applied and why platform setup is last. |
| install/…/n1x.sh | Shows the N1x firmware-dependent display policy, input support, USB4 setup, and rescue path. |
| install/…/nvidia.sh | Shows the general NVIDIA driver path and its handoff to the N1x-specific policy. |
| install/…/gpu-memory.sh | Shows the integrated-GPU memory policy applied during hardware setup. |
| install/…/vulkan.sh | Shows how graphics hardware selects Vulkan support. |
| install/…/hamoa-display.sh | Shows the shared Qualcomm early display support needed for unlock screens. |
| install/…/yoga-slim7x.sh | Shows board-specific boot and sleep support for the Lenovo Yoga Slim 7x. |
| install/…/yoga-slim7x-hibernate.sh | Shows the safe device transition around Yoga Slim 7x hibernation. |
| install/…/surface-laptop-7.sh | Shows Surface Laptop 7 early-boot and input support. |
| install/…/galaxy-book4-edge-14.sh | Shows the Galaxy Book4 Edge 14 display and sleep-resume policy. |
bin/omarchy-provision-user | Shows the user finalization boundary and completion marker. |
| install/…/all.sh | Shows the user setup order for desktop defaults, input methods, regional state, machine fixes, keyring, tools, and platform settings. |
| install/…/region.sh | Shows how regional user configuration is seeded without replacing user files. |
| install/…/theme.sh | Shows how a region's initial theme is applied without replacing an existing choice. |
bin/omarchy-provision-first-run | Shows the live-session work and retry behavior after login. |
| install/…/enable-user-units.sh | Shows how user services wait until a live session exists. |
| install/…/wifi.sh | Shows how network readiness gates package invitations without blocking other first-run work. |
install/user/first-run/setup-agent.hook | Shows the one-time invitation for agent setup. |
| install/…/setup-form.sh | Defines the shared language, keyboard, account, host name, time-zone, default-value, search, and cancellation contract. |
| install/…/kmscon.sh | Keeps the installer and first-boot console presentation and keyboard behavior consistent. |
| install/…/progress-icon.sh | Defines the shared progress display used across install and deferred setup. |
| install/…/language-defaults.json | Maps supported setup languages to useful keyboard and time-zone defaults. |
| install/…/oem.sh | Loads optional OEM branding and the owner agreement. |
install/provisioning/omarchy-provision-owner.service | Defines when deferred owner setup runs relative to login. |
| install/…/luks-rekey.sh | Shows the resumable encrypted-install key transition and its safety checks. |
bin/omarchy-provision-owner | Shows the first-boot owner flow and its handoff to the desktop. |
| manual/51-unattended-installs.md | Explains the external configuration contract for unattended ISO installs. |