summaryrefslogtreecommitdiff
path: root/remote-install.sh
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2024-11-03 20:10:26 -0600
committerTim Keller <tjkeller.xyz>2024-11-03 20:10:26 -0600
commit917dc7d6d859cbfd24ad778d724a0e32abf2d32b (patch)
tree16e13cc96360fe7562216f6e8513b0e43c328c95 /remote-install.sh
parent571d56afe69d167e4406b249ccadd7f0f527d52c (diff)
downloadnixos-917dc7d6d859cbfd24ad778d724a0e32abf2d32b.tar.xz
nixos-917dc7d6d859cbfd24ad778d724a0e32abf2d32b.zip
add todo and start remote instlal script
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
+