Jafner.net/homelab
2022-02-25 23:34:43 +00:00
..
ansible Update Homer with public cloud subtitles and logos 2022-02-12 22:11:38 -08:00
docs
gaming-vpn
jafner-chat
jafner-tools
nas
router Add initial router config 2022-02-16 11:28:28 -08:00
seedbox
server Merge branch 'main' of ssh://gitlab.jafner.net:2229/Jafner/homelab 2022-02-25 13:40:52 -08:00
.gitlab-ci.yml Enable server-deploy 2022-02-25 21:30:41 +00:00
README.md Add instructions for generating host SSH key 2022-02-25 23:34:43 +00:00

homelab

Monolithic repository for my homelab

Getting an SSH Key

  1. TMP=$(echo "$HOME/.ssh/$(echo $HOSTNAME)_id_rsa") && ssh-keygen -b 8192 -t rsa -C "$USER@$HOSTNAME" -f $TMP -N "" && cat $(echo "$TMP").pub
  2. Go to Jafner -> Preferences -> SSH Keys.
  3. Add the pubkey and save.

Pulling Only Relevant Subdir

Per: https://stackoverflow.com/questions/4114887

~$ mkdir homelab && cd homelab/
git init
git config core.sparseCheckout true
git remote add -f origin ssh://git@gitlab.jafner.net:2229/Jafner/homelab.git
echo "<deployment name; e.g. server/>" > .git/info/sparse-checkout
git checkout main