diff options
author | Tim Keller <tjkeller.xyz> | 2024-11-03 20:39:46 -0600 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-11-03 20:39:46 -0600 |
commit | c1f39ae458cb14c2d3fbe751e02ffd8b02b4bb35 (patch) | |
tree | 47f4d968fdccbf747142a3bbc24b989e8c65e51e | |
parent | 082241506657b3a2fd3d98fa11bee825192adfc9 (diff) | |
download | nixos-c1f39ae458cb14c2d3fbe751e02ffd8b02b4bb35.tar.xz nixos-c1f39ae458cb14c2d3fbe751e02ffd8b02b4bb35.zip |
clone nixos and add steps to remote install
-rw-r--r-- | modules/home/resources/activation-scripts/clone-repos.sh | 1 | ||||
-rw-r--r-- | remote-install.sh | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/modules/home/resources/activation-scripts/clone-repos.sh b/modules/home/resources/activation-scripts/clone-repos.sh index 0050359..246493a 100644 --- a/modules/home/resources/activation-scripts/clone-repos.sh +++ b/modules/home/resources/activation-scripts/clone-repos.sh @@ -17,6 +17,7 @@ clonemissing() { # # repo # clone to # link to clonemissing scripts.git $HOME/docs/src/scripts $HOME/.local/bin clonemissing dotconfig.git $HOME/docs/src/config $HOME/.config +clonemissing nixos.git $HOME/docs/src/nixos '' clonemissing awesome $HOME/.config/awesome '' clonemissing nvim $HOME/.config/nvim '' clonemissing zsh $HOME/.config/zsh '' 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 |