Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Nix
  3. robotnix

robotnix

Nix

Build Android (AOSP) images using the Nix package manager for reproducible and customizable builds.

GitHubGitHub
775 stars93 forks0 contributors

What is robotnix?

Robotnix is a build system that uses the Nix package manager to compile Android (AOSP) images, along with components like kernels, webviews, and third-party apps. It solves the problem of Android's complex, fragile build processes by providing a reproducible, declarative approach similar to NixOS.

Target Audience

Android enthusiasts, privacy-conscious users, and developers who want to build custom, reproducible Android images for supported devices, particularly those interested in GrapheneOS or LineageOS.

Value Proposition

Developers choose Robotnix because it brings Nix's reproducibility and modular configuration to Android builds, making it easier to create secure, customized images with verified boot support and integrated privacy tools like MicroG.

Overview

Build Android (AOSP) using Nix [maintainer=@danielfullmer,@Atemu,@cyclic-pentane]

Use Cases

Best For

  • Building reproducible LineageOS or GrapheneOS images with Nix
  • Creating custom Android ROMs with integrated privacy tools like MicroG
  • Generating signed Android images for verified boot and bootloader re-locking
  • Automating Android builds with declarative configuration
  • Integrating F-Droid and other apps directly into the system image
  • Extracting and including vendor blobs from official Google images

Not Ideal For

  • Developers needing stable, production-ready Android builds for daily driver phones
  • Teams without Nix expertise or unwilling to manage complex build configurations
  • Projects with tight resource constraints (low disk space or RAM)
  • Users requiring broad device support beyond Pixel and LineageOS-compatible devices

Pros & Cons

Pros

Reproducible Nix Builds

Leverages Nix for declarative and reproducible Android image builds, abstracting away Android's complex tooling as described in the motivation section.

Modular Configuration System

Uses a NixOS-style module system to easily customize flavors, apps, and settings, exemplified in the Quick Start with modules for F-Droid and MicroG.

Secure Boot Support

Enables signed builds for verified boot and bootloader re-locking with user keys, a key feature for security-conscious users.

Privacy Tool Integration

Integrates privacy-focused tools like MicroG, F-Droid, and alternative webviews (e.g., Bromite) directly into the build process without manual patching.

Cons

Alpha Software State

Explicitly labeled as in-development alpha software with many unmaintained components (e.g., webview, kernels), making it unreliable for daily use as per the README warning.

High Resource Demands

Requires at least 250GB disk space and 16GB RAM, with build times spanning hours, as detailed in the Requirements section, which can be prohibitive for casual users.

Limited Maintenance

The status table shows critical components like vanilla AOSP, webview, and kernels are not maintained, reducing functionality and long-term support.

Complex Setup

Requires familiarity with Nix and Android build systems; features like sandbox signing have specific kernel and daemon requirements, adding to setup complexity.

Frequently Asked Questions

Quick Stats

Stars775
Forks93
Contributors0
Open Issues64
Last commit8 days ago
CreatedSince 2019

Tags

#ota-updates#nix#secure-boot#reproducible-builds

Built With

N
Nix

Included in

Nix5.0k
Auto-fetched 5 hours ago

Related Projects

DevboxDevbox

Instant, easy, and predictable development environments

Stars11,503
Forks309
Last commit10 days ago
floxflox

The Deterministic Foundation for your SDLC

Stars3,947
Forks123
Last commit1 day ago
nix-direnvnix-direnv

A fast, persistent use_nix/use_flake implementation for direnv [maintainer=@Mic92 / @bbenne10]

Stars2,638
Forks142
Last commit6 hours ago
atticattic

Multi-tenant Nix Binary Cache

Stars1,853
Forks159
Last commit5 days ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub