Skip to content

Nix-on-Droid

Nix package manager for Android, installed as an app without root

Permissive (OSI) · MIT
  • Android

Listed by , founder & editor

50

Health

Slowing

Overview

Stars

2,216

Last commit

29 days ago

Oct 2026

Repository age

7 years

since Mar 2019

Latest version

–

Contributors

–

1 active in 90 days

Releases

0

last 12 months

Language

Nix

Nix-on-Droid brings the Nix package manager to Android in an installable app. You get a terminal and access to the nixpkgs collection of precompiled software. It is not full NixOS running on the phone.

It needs no root, no user namespace support and no SELinux changes. It relies on proot and other workarounds instead. The terminal is a fork of the Termux terminal emulator app, but the project is unrelated to the Termux distribution. The repository holds Nix expressions that build the bootstrap zipball, plus a module system for configuring the install on the device.

You configure it in a nix-on-droid.nix file under ~/.config/nixpkgs, and apply changes with nix-on-droid switch. Rollback is available through nix-on-droid rollback. Home Manager can be enabled for user-level configuration. It is tested on aarch64 devices only, and the project calls its quality prototype-grade.

Who it's for

Nix users who want their familiar tooling on an Android phone

You declare packages in a Nix config and keep the same workflow as on a desktop.

Skip if: You do not already use Nix and only need a simple terminal.

Home Manager users wanting shared dotfiles on mobile

Home Manager can be enabled inside the module system.

Skip if: You need a 32-bit ARM device, which is not supported.

The problem it solves

Android has no native way to install a large catalog of command-line software reproducibly. This gives you Nix and nixpkgs in a terminal app without rooting the device.

Strengths

  • Runs without root, user namespaces or disabling SELinux
  • Installs from F-Droid as one app
  • Declarative config with rollback via nix-on-droid rollback
  • Home Manager integration
  • MIT licensed

Trade-offs

  • Prototype-grade quality by the project's own description
  • Tested only on aarch64; 32-bit ARM is not supported
  • Initial setup downloads hundreds of megabytes
  • Relies on proot, which adds overhead and limits

Frequently asked questions

Do I need root?

No. It works without root by using proot.

Where do I get it?

It is available from F-Droid.

Is this NixOS on Android?

No. It is the Nix package manager with a module system, not a full NixOS.

Which devices work?

It is tested on aarch64 (64-bit ARM) devices only.

What license is it under?

MIT.

Similar tools in Operating systems

StartOS

Operating systems

Linux server OS for running self-hosted services at home, with a web UI and backups

2k 205 today Thriving MIT

river

Operating systems

1.3k 84 5 days ago Thriving Unknown

AnLinux

Operating systems

Android app that sets up Linux distros with desktops through Termux and PRoot, no root

629 60 8 days ago Active Apache-2.0

OpenAndroidInstaller

Operating systems

Guided desktop installer for putting LineageOS and other custom Android ROMs on phones

532 36 3 months ago Dormant GPL-3.0

FluxLinux - Mobile Linux

Operating systems

Android app that runs full Linux desktops in PRoot or Chroot, with 12 distros

334 30 2 months ago Active GPL-3.0