|
|
||
|---|---|---|
| common | ||
| external | ||
| hosts | ||
| secrets | ||
| .envrc | ||
| .gitignore | ||
| .sops.yaml | ||
| README.md | ||
| flake.lock | ||
| flake.nix | ||
README.md
Infra Reference
Host Overview
nix-darwin
penrose: Mac Mini M1sierpinski: MacBook Air M4
colmena
synchronicity-ii: Rented high-reliability/low-cost servertears: x86 Headless desktop for heavy workloadswatchtower: ThinkCentre M75q Gen 2 Tiny; Home server
offline
bloodletting: Main server / technogothic.net
Manual setup on blank system/migrations
bloodletting:
nh os switch --target-host root@bloodletting -H bloodletting- deploy configpasswd- set user passwords- rsync state:
/var/lib:acme/.legobin_rsfail2bangrafanaheadscalehedgedocmastodon- dump and import Postgres and Redis DBs
matterbridgemc-e2emc-enigmatica-8mstdn-ebooksnyandroidprometheus2prosody
/home/ftp
penrose/sierpinski:
nh darwin switch- deploy configage-plugin-se keygen | tee (tty) | tail -n1 >> ~/Library/Application\ Support/sops/age/keys.txt- generate a private key using the Apple Secure Enclave. Make sure to add it to.sops.yaml.sops updatekeys- re-encrypt secrets after adding new keys.
Rsyncd Modules
Modded minecraft instance rsync modules can be accessed through mc-[modpack]@bloodletting::mc-[modpack] with --rsh=ssh
Updating Mastodon
cd common/pkgs/mastodon && ./update.sh --owner AgathaSorceress --rev <commit hash>
Last commit which includes BSPWM configs
Common Pitfalls
- Run
sudo ssh tearsif remote builds are failing. This is likely caused by a hidden "Host key verification failed" error.