From c9aeb30511373e55b743ae367aad1d7e8e0f85c1 Mon Sep 17 00:00:00 2001 From: naturallaw77 Date: Fri, 14 Jul 2023 23:02:22 -0700 Subject: [PATCH] updated sp.sh --- for_new_sovran_pros/sp.sh | 4 ++++ 1 file changed, 4 insertions(+) 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