updated sp.sh

This commit is contained in:
naturallaw77 2023-07-14 23:02:22 -07:00
parent 9f479718fa
commit c9aeb30511

View File

@ -104,6 +104,10 @@ EOT
#
nixos-rebuild switch --impure
#
ssh-keygen -q -N "" -t ed25519 -f /root/.ssh/agenix/agenix-secret-keys
sed -i -e "0,/root.*/{s::root = $(cat /root/.ssh/agenix/agenix-secret-keys.pub):};s:root@nixos::" /var/lib/agenix-secrets/secrets.nix