1
Fork 0

more attempt

This commit is contained in:
caem 2025-01-19 23:57:50 +01:00
parent 7f94d19f47
commit 30f1cbcc34
Signed by: caem
GPG key ID: 69A830D03203405F

View file

@ -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() {