summaryrefslogtreecommitdiff
path: root/remote-install.sh
blob: a0181848e51247d84d77b939684d60be473562b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh

# TODO flesh out

ssh $host << EOL
nix-env -i git
git clone git@192.168.1.30:nixos.git
# Copy over ssh / age key
cd nixos
nixos-install --flake ./#$HOST

EOL