mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-11-08 22:04:05 +03:00
not really known
67926d02ca
This may, instead, need the configuration system from nixos, where lib.mkForce, lib.mkDefault and friends would make more sense here. |
||
---|---|---|
devices | ||
overlay | ||
quirks/qualcomm | ||
.gitignore | ||
bootimg.nix | ||
default.nix | ||
loading.png | ||
loading.ppm.gz | ||
loading.xcf | ||
README.md | ||
rootfs.nix | ||
shell.nix | ||
temp-splash.png | ||
temp-splash.ppm.gz | ||
temp-splash.xcf |
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.