- 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
Filesfrom phone settings, this will give access to/mnt/sdcardlater) - 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.gitin home folder - Update system
nix-on-droid switch --flake ~/nixos/#nerzhul - Symlink
config.fishwithln -s ~/nixos/dotfiles/fish/nerzhul.fish ~/.config/fish/config.fish - Done
There is also ssh support
- Generate keys with
ssh-keygen - Add laptop keys to
.ssh/authorized_keys - Start ssh server
sshserver(alias)