mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Add initial doc for installing new systems
This commit is contained in:
parent
65206b78f7
commit
122137b25e
1 changed files with 16 additions and 0 deletions
16
INSTALLATION.md
Normal file
16
INSTALLATION.md
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
## Installing on aarch64-linux
|
||||||
|
|
||||||
|
1. set password
|
||||||
|
2. create a temp ubuntu server if this is the first aarch64 host and ssh into it: `ssh -o UserKnownHostsFile=/dev/null root@<ip of temp host>`
|
||||||
|
3. `curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install`
|
||||||
|
4. `. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh`
|
||||||
|
5. Run these commands:
|
||||||
|
```bash
|
||||||
|
read -s SSHPASS
|
||||||
|
export SSHPASS=$SSHPASS
|
||||||
|
export TARGET_HOST=hetznix02
|
||||||
|
export DOTS_BRANCH=pi-setup
|
||||||
|
nix --extra-experimental-features 'flakes nix-command' run github:nix-community/nixos-anywhere -- --env-password --flake github:genebean/dots/${DOTS_BRANCH}#${TARGET_HOST} --target-host nixos@195.201.224.89
|
||||||
|
```
|
||||||
|
6. Delete temp server
|
||||||
|
7.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue