2025-11-08 14:18:13 +08:00
|
|
|
#!/run/current-system/sw/bin/bash
|
|
|
|
|
# add things to git
|
|
|
|
|
|
|
|
|
|
COMMIT_MSG="Update NixOS config."
|
|
|
|
|
echo "Commit message?"
|
|
|
|
|
# what did I change?
|
|
|
|
|
read COMMIT_MSG
|
|
|
|
|
echo "OK!"
|
|
|
|
|
|
|
|
|
|
git add .
|
|
|
|
|
git commit -m "$COMMIT_MSG"
|
2025-11-08 14:28:40 +08:00
|
|
|
git push -u origin main
|