1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-11-08 22:04:05 +03:00
not really known
Go to file
Samuel Dionne-Riel 67926d02ca Tries looking at how "quirks" could exist.
This may, instead, need the configuration system from nixos, where
lib.mkForce, lib.mkDefault and friends would make more sense here.
2018-06-13 02:07:26 +00:00
devices Tries looking at how "quirks" could exist. 2018-06-13 02:07:26 +00:00
overlay Makes kernel part of the device description. 2018-06-13 02:06:24 +00:00
quirks/qualcomm Tries looking at how "quirks" could exist. 2018-06-13 02:07:26 +00:00
.gitignore Adds default.nix that allows calling nix-build. 2018-06-10 01:00:12 +00:00
bootimg.nix Makes kernel part of the device description. 2018-06-13 02:06:24 +00:00
default.nix Adds default.nix that allows calling nix-build. 2018-06-10 01:00:12 +00:00
loading.png Updates graphics (+ export png) 2018-06-11 19:25:48 -04:00
loading.ppm.gz Adds loading ppm, and adds R G B text to temp splash. 2018-06-11 00:00:23 +00:00
loading.xcf Updates graphics (+ export png) 2018-06-11 19:25:48 -04:00
README.md Reads device informations / configuration from json file. 2018-06-10 17:18:28 +00:00
rootfs.nix Reviews start of init script. 2018-06-13 01:47:00 +00:00
shell.nix Adds Asus Z00T kernel 2018-06-10 00:57:12 +00:00
temp-splash.png Updates graphics (+ export png) 2018-06-11 19:25:48 -04:00
temp-splash.ppm.gz Adds loading ppm, and adds R G B text to temp splash. 2018-06-11 00:00:23 +00:00
temp-splash.xcf Updates graphics (+ export png) 2018-06-11 19:25:48 -04:00

Mobile NixOS

An overlay for building stuff.

This is a work-in-progress.

WIP notes

nix-build bootimg.nix --arg device_name '"asus-z00t"'
# 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.

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.

Notes

This is an unofficial and unsanctioned project.