feat: update flakes

This commit is contained in:
2024-10-26 19:07:57 -04:00
parent 31cb308044
commit 4f2cfaa778
8 changed files with 42 additions and 50 deletions

View File

@@ -37,7 +37,7 @@ function main() {
chmod 600 "${KEY_PATH}"
# Append public key to the secrets file and rekey agenix
pushd "./nixos/secrets"
pushd "./secrets"
LINE=" ${MACHINE_NAME} = \"$(cat "${KEY_PATH}".pub)\";"
echo "appending to file ${PWD}./keys.nix"
sed -i -e "\$i${LINE}" "./keys.nix"