Monolithic repository for my homelab
Go to file
2022-04-05 08:50:41 -07:00
docs Add documentation for configuring services to use email 2022-04-04 16:48:47 -07:00
jafner-tools Switch Joplin SMTP auth 2022-04-04 23:35:18 -07:00
nas Update README.md 2022-03-01 19:06:27 +00:00
router Delete poor attempt at cron job 2022-02-26 01:41:21 -08:00
seedbox Remove comments 2022-02-25 21:07:03 -08:00
server Switch PeerTube SMTP config 2022-04-05 08:50:41 -07:00
.gitlab-ci.yml remove bad include 2022-02-26 01:41:51 -08:00
.gitmodules Add ass/ass submodule 2022-02-25 21:27:31 -08:00
README.md Update README.md 2022-02-25 23:42:12 +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 "" && echo "IdentityFile $TMP" > $HOME/.ssh/config && 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