Continue moving personal packages from overlays

Continue moving out of the overlay model for everything and into running
sutff directly out of the packages. This should give a cleaner
separation of the things that I don't need to maintain separately
This commit is contained in:
Greg Hellings
2024-10-11 12:58:03 -05:00
parent 8d752032ae
commit 6a3f482792
15 changed files with 190 additions and 159 deletions
+11
View File
@@ -0,0 +1,11 @@
# vim: set ft=bash:
file="${HOME}/.ssh/id_ed25519"
if [ ! -f "${file}" ]; then
echo "Generating a new key"
ssh-keygen -t ed25519 -f "${file}" -N ''
cat "${file}.pub" >> /etc/nixos/home/ssh/authorized_keys
echo "Authing key to GitHub - may fail"
gh auth refresh -h github.com -s admin:public_key
gh ssh-key add -t "${HOSTNAME}-auto" "${file}" || true
fi