more attempt
This commit is contained in:
parent
7f94d19f47
commit
30f1cbcc34
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
Reference in a new issue