Keep the distro you trust. Make every machine on it yours.
With FormalSpec, you describe each machine in Starlark, including its packages, files, services, and the distro underneath. A single lockfile pins every version, so machines on the same commit run the same software.
The installer sets up a new disk from that description. NativeDesktop apps and FormalShell make it feel like one desktop from the moment you sign in.
Define your machines in code and keep them identical on any Linux distro or macOS.
Tested on macOS, Fedora 44, Arch Linux, Debian 13, and Void Linux.
fspec switch --distro d [--release r]
Installs another distro beside this one.
What it manages
Files and hosts
Write, link, or seed a file, or merge your settings into a file an app also writes. Hosts are plain functions, so adding a second laptop takes one line.
For x86_64 PCs, about 1.2 GB. Starts from USB with Secure Boot turned on. SHA256SUMS, all versions
FormalSpec Language · Disk · System · Preset · Account · Review · Install
────────────────────────────────────────────────────────────────────────────
Choose a system
Fedora fixed systemd signed kernel classic
Bazzite fixed systemd signed kernel image
▌ Fedora Atomic fixed systemd signed kernel image
Aurora fixed systemd signed kernel image
Arch Linux rolling systemd unsigned kernel classic
CachyOS rolling systemd unsigned kernel classic
Fedora Atomic
Fedora as an image: updates land whole and the previous one stays in the
boot menu.
fixed New versions arrive in scheduled releases you upgrade to.
systemd Services start with systemd, as on most distros.
signed kernel Boots with Secure Boot on, and anti-cheat that checks
kernel signatures trusts it.
image The system is a bootc image: updates apply whole, and the
previous image stays bootable.
based on Fedora Uses Fedora's packages, with its own changes on top.
↑↓ Move Enter Continue Esc Back ? Keys s Spec
FormalSpec Language · Disk · System · Preset · Account · Review · Install
────────────────────────────────────────────────────────────────────────────
Choose a disk
▌ Samsung SSD 980 PRO 1 TB nvme Windows (ntfs), EFI (vfat)
WD Blue SA510 500 GB sata Empty
SanDisk Ultra 16 GB usb Installer USB
LUKS2 ───────────────────────────────────────────────────────────
EFI 2 GB @system @home @swap @snapshots @fspec
Everything on Samsung SSD 980 PRO (1 TB) will be erased.
━━● Encrypt the disk
Passphrase Confirm passphrase
▌
Use at least 8 characters.
Swap size ‹ 4 GB ›
Tab Next Enter Continue Esc Back
FormalSpec Language · Disk · System · Preset · Account · Review · Install
────────────────────────────────────────────────────────────────────────────
Installing Fedora
Keep the machine powered on.
✓ Partition the disk
✓ Format the partitions
⠧ Set up LUKS2
9 more steps
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 3 of 12 01:23
Log
sgdisk --new=1:0:0 /dev/nvme0n1
The operation has completed successfully.
sgdisk --new=2:0:0 /dev/nvme0n1
The operation has completed successfully.
sgdisk --new=3:0:0 /dev/nvme0n1
The operation has completed successfully.
Installing. This cannot be interrupted.
FormalSpec Language · Disk · System · Preset · Account · Review · Install
────────────────────────────────────────────────────────────────────────────
✓ Fedora is installed.
Remove the installer USB, then restart.
Restart now Open a shell
✓ Configure locale and time zone
✓ Install the FormalSpec tools
✓ Apply your spec
✓ Set your password
✓ Build the kernels
✓ Install the bootloader
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Step 12 of 12 00:00
Log
[12/12] install the bootloader (1/3)
[12/12] install the bootloader (2/3)
[12/12] install the bootloader (3/3)
←→ Choose Enter Select
FormalSpec Language · Source · Host · Disk · Account · Review · Install
────────────────────────────────────────────────────────────────────────────
Choose a host
▌ framework x86_64-linux fedora kyan
macbook macOS hosts are not installed from this ISO
↑↓ Move Enter Continue Esc Back ? Keys s Spec
Apps that feel native
Describe a window once, and each platform draws it with its own controls: AppKit on macOS, and GPUI on Linux, Windows, and the web.
NativeDesktop on macOSNativeDesktop on LinuxNativeDesktop on WindowsLynk Browser on macOSLynk Browser on LinuxLynk Browser isn't on Windows. Showing macOS.Messages on macOSMessages on LinuxMessages on WindowsFormalMusic on macOSFormalMusic on LinuxFormalMusic on Windows
FormalShell
A desktop shell for Hyprland, written in Rust. A single process draws the bar, launcher, panels, notifications, lock screen, greeter, and screensaver, and every color comes from your wallpaper.
Works with Hyprland 0.56 and later. It's coming to the installer soon.