1
Fork 0

Add emojis to more scripts

This commit is contained in:
prescientmoon 2024-08-27 13:54:32 +02:00
parent 1b180a8a25
commit 2b2e74a75d
Signed by: prescientmoon
SSH key fingerprint: SHA256:WFp/cO76nbarETAoQcQXuV+0h7XJsEsOCI0UsyPIy6U
13 changed files with 140 additions and 74 deletions

View file

@ -1,9 +1,12 @@
#!/usr/bin/env bash
# Create tmp file
tmpfile=$(mktemp)
# Concat files
cat hosts/nixos/*/keys/id_*.pub > $tmpfile
# Copy concat result
scp $tmpfile $(cat hosts/nixos/common/optional/services/restic/url.txt):.ssh/authorized_keys
# Cleanup file
rm -rf $tmpfile