summaryrefslogtreecommitdiff
path: root/remote-install.sh
diff options
context:
space:
mode:
Diffstat (limited to 'remote-install.sh')
-rw-r--r--remote-install.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/remote-install.sh b/remote-install.sh
new file mode 100644
index 0000000..a018184
--- /dev/null
+++ b/remote-install.sh
@@ -0,0 +1,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
+