diff --git a/for_new_sovran_pros/sp.sh b/for_new_sovran_pros/sp.sh index 79adfe5..118df58 100644 --- a/for_new_sovran_pros/sp.sh +++ b/for_new_sovran_pros/sp.sh @@ -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