omaflake

Clean NixOS and macOS virtual machines on Mac and Linux – one click away.

Alpha · unsigned build · for testing

How it works

Recipes

Put a VM together from building blocks: a platform – NixOS or macOS –, modules (a desktop, a terminal, an editor, LaTeX …, written in Nix), a look and key bindings. Install a recipe and what it is made of comes along – or put your own together in the app. Browse the catalog.

Images

omaflake builds an immutable image from each recipe. Images never change.

Instances

Run disposable instances from the app – the menu bar on a Mac, a native window on Linux – or the omaf CLI. Reset throws an instance's state away and starts over from the image.

Two guest kinds, one app

GuestContentRuntime
NixOS (aarch64, x86_64)NixOS modules from the catalog, built as UEFI qcow2 imagesMac: QEMU with Hypervisor.framework, own build with virglrenderer for 3D · Linux: QEMU with KVM
macOS (Mac only)nix-darwin modules from the catalog, on top of a base installed from Apple's IPSWomaf-runner, one process per VM on Virtualization.framework

Download

The first alpha is on its way.

Want to hear when it is out? Write to support@omaflake.app.

Install on a Mac

Until omaflake is signed by Apple's Developer ID, macOS blocks the app when it comes from a browser. Either way below works.

In the Terminal

Downloads, checks and unpacks the app into /Applications. Files fetched with curl are not blocked.

curl -fLO <download URL>
shasum -a 256 -c <file>.sha256
ditto -x -k <file> /Applications

From the browser

Unzip the download and move omaflake to Applications. Open it once – macOS refuses. Then System Settings → Privacy & Security, scroll down, click Open Anyway next to omaflake and confirm.

Install on Linux

On Linux omaflake runs NixOS guests. It comes as a Nix package with the app, a desktop entry and the omaf CLI, for x86_64 and aarch64 – on NixOS or any distribution with Nix.

With Nix

Installs omaflake – with its image flake – and QEMU, then checks what is missing.

nix profile install github:omaflake/omaflake#omaflake-gui nixpkgs#qemu
omaf doctor

Details – KVM access, other distributions, what works on a Linux desktop so far – in the Linux guide.

Requirements

What alpha means

Found a bug, missing something? Open an issue or write to support@omaflake.app – thank you for testing.

The name

OMAkase + FLAKE → omaflake

Omakase is Japanese for “I'll leave it to you”: at a sushi bar, the chef chooses. Omarchy, the opinionated Arch Linux setup, took its name from it, and omaflake follows – a recipe chooses a whole system for you, ready to use. A flake is Nix's unit of reproducible code: it pins exactly what goes into a system, so the result is the same every time. Together: the chef's choice, reproducible.