nix-infra/README.md

1.1 KiB

Nix Infra Config

Using colmena

Hosts

  • bloodletting: Main server
  • ritual: NixOS laptop
  • tears: NixOS desktop

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
      • mastodon
        • dump and import Postgres and Redis DBs
      • matterbridge
      • mc-e2e
      • mc-enigmatica-8
      • mstdn-ebooks
      • nyandroid
      • prometheus2
      • prosody
    • /home/ftp

Ritual/Tears:

  • colmena apply[-local] - deploy config
  • mkdir -p ~/.gnupg - create directory for gnupg
  • copy ~/.ssh/id_ed25519
  • manual configuration/login:
    • Firefox
      • Copy extension data
    • Element
    • Dino
    • Telegram Desktop
    • Geary
    • Obsidian

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>