nix-infra/README.md

1.2 KiB

Nix Infra Config

Using colmena

Hosts

  • Agathas-Mac-mini: macOS/nix-darwin desktop
  • bloodletting: Main server / technogothic.net
  • ritual: macOS/nix-darwin laptop
  • watchtower: Home server

Manual setup on blank system/migrations

Bloodletting:

  • colmena apply - deploy config
  • passwd - set user passwords
  • rsync state:
    • /var/lib:
      • acme/.lego
      • bin_rs
      • fail2ban
      • grafana
      • headscale
      • hedgedoc
      • mastodon
        • dump and import Postgres and Redis DBs
      • matterbridge
      • mc-e2e
      • mc-enigmatica-8
      • mstdn-ebooks
      • nyandroid
      • prometheus2
      • prosody
    • /home/ftp

Agathas-Mac-mini/Ritual:

  • darwin-rebuild switch --flake . - deploy config

Last commit which includes BSPWM configs

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>