- clone this repo into projects dir
- replace /etc/nixos/ with symbolic link to this repo
sudo nixos-rebuild switch
- Install F-Droid (https://f-droid.org/)
- Install Nix-on-droid in F-Droid
- Give permissions (Including
Files
from phone settings, this will give access to/mnt/sdcard
later) - In Nix-on-droid
Do you want to set it up with flakes
> no (not for the initial installation, step 7 adds flakes support) - Add git
nix-shell -p git
- Clone repo
git clone https://github.com/Saegl/nixos.git
in home folder - Update system
nix-on-droid switch --flake ~/nixos/#nerzhul
- Done
There is also ssh
support
- Generate keys with
ssh-keygen
- Add laptop keys to
.ssh/authorized_keys
- Start ssh server
sshserver
(alias)