blob: 59b8dfaf4872c752a360813a312c9f92c92fad9a (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# How to build from local machine and deploy to build server
1. Make sure you can ssh to `bender` by setting the following in `~/.ssh/config`
```
Host android-runner-bender
HostName bender.local
User runner-admin
IdentitiesOnly yes
```
2. Get a shell with the `nixos-rebuild` command (if not already available): `nix-shell -p nixos-rebuild`
3. Run: `nixos-rebuild -I nixos-config=$(pwd)/configuration.nix --build-host android-runner-bender --target-host android-runner-bender --sudo --ask-sudo-password --no-flake switch`
|