2018-06-10 03:45:05 +03:00
|
|
|
Mobile NixOS
|
|
|
|
============
|
|
|
|
|
|
|
|
An overlay for building stuff.
|
|
|
|
|
|
|
|
This is a work-in-progress.
|
|
|
|
|
|
|
|
|
2018-06-10 06:03:24 +03:00
|
|
|
WIP notes
|
|
|
|
---------
|
|
|
|
|
|
|
|
```
|
2018-06-10 20:18:28 +03:00
|
|
|
nix-build bootimg.nix --arg device_name '"asus-z00t"'
|
2018-06-10 06:03:24 +03:00
|
|
|
# Maybe `nix copy ./result --to ssh://another-host`
|
|
|
|
adb wait-for-device && adb reboot bootloader
|
|
|
|
fastboot boot result # or full path
|
|
|
|
# getting adb and fastboot working is left as an exercise to the reader.
|
|
|
|
```
|
|
|
|
|
|
|
|
|
2018-06-10 03:45:05 +03:00
|
|
|
Goals
|
|
|
|
-----
|
|
|
|
|
|
|
|
The goal is to get a nix-built operating system, preferably NixOS running on
|
|
|
|
mobile devices, e.g. Android phones.
|
|
|
|
|
|
|
|
|
|
|
|
Prior work
|
|
|
|
----------
|
|
|
|
|
|
|
|
This project heavily borrows and relies on the hard work from the [PostmarketOS
|
|
|
|
project](https://postmarketos.org/).
|
|
|
|
|
|
|
|
|
|
|
|
Notes
|
|
|
|
-----
|
|
|
|
|
|
|
|
> This is an unofficial and unsanctioned project.
|