feats for pop

This commit is contained in:
Strix 2025-01-12 18:52:10 +01:00
parent ba52a96a60
commit 1573398e8d
7 changed files with 55 additions and 7 deletions

View file

@ -2,8 +2,9 @@
describe="setup ssh"
apply() {
apply() {
[ -e "$HOME/.ssh/authorized_keys" ] || ln files/authorized_keys $HOME/.ssh/authorized_keys
[ -e "$HOME/.ssh/config" ] || ln files/config $HOME/.ssh/config
if ! [ -f "$HOME/.ssh/id_rsa" ]; then
echo "Creating new ssh key for this device..."
ssh-keygen -f $HOME/.ssh/id_rsa -p "" -q
@ -14,4 +15,4 @@ apply() {
undo() {
echo "Undoing ssh keys is not supported, please do this manually."
}
}

View file

@ -0,0 +1,22 @@
## neb servers
# hydrogen red helix
Host H
Hostname hydrogen.red.helix.saluco.nl
# argon red helix
Host A
Hostname argon.red.helix.saluco.nl
# iron red sphere
Host I
Hostname iron.red.sphere.saluco.nl
## utility servers
Host git
Hostname git.saluco.nl
User git
Host github
Hostname github.com
User git