From c1f39ae458cb14c2d3fbe751e02ffd8b02b4bb35 Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 3 Nov 2024 20:39:46 -0600 Subject: clone nixos and add steps to remote install --- remote-install.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'remote-install.sh') diff --git a/remote-install.sh b/remote-install.sh index a018184..94ced0e 100644 --- a/remote-install.sh +++ b/remote-install.sh @@ -2,9 +2,12 @@ # TODO flesh out +# Confirm that you have mounted all nessesary sys partitions relative to /mnt ssh $host << EOL +nixos-generate-config --root /mnt nix-env -i git git clone git@192.168.1.30:nixos.git +# Copy hardware config to host root # Copy over ssh / age key cd nixos nixos-install --flake ./#$HOST -- cgit v1.2.3