Refactor the whole configuration #1
1 changed files with 5 additions and 3 deletions
|
@ -133,9 +133,11 @@ partition_disk() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
sudo sh -c 'eval "$(ssh-agent -s)"'
|
sudo sh -c '\
|
||||||
sudo ssh-add "/root/.ssh/*.pub"
|
eval "$(ssh-agent -s)"\
|
||||||
sudo nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME"
|
ssh-add "/root/.ssh/*.pub"\
|
||||||
|
nixos-install --no-root-passwd --flake ".#$DOTNIX_HOSTNAME"\
|
||||||
|
'
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_files_to_new_install() {
|
copy_files_to_new_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue