nix-infra/README.md

45 lines
1.2 KiB
Markdown
Raw Normal View History

# Nix Infra Config
2023-03-07 19:24:57 +00:00
Using [colmena](https://github.com/zhaofengli/colmena)
## Hosts
2024-11-29 16:07:02 +00:00
- `Agathas-Mac-mini`: macOS/nix-darwin desktop
- `bloodletting`: Main server / technogothic.net
- `ritual`: macOS/nix-darwin laptop
- `watchtower`: Home server
2023-03-07 19:25:16 +00:00
### Manual setup on blank system/migrations
2023-03-26 16:14:49 +00:00
Bloodletting:
2023-03-07 19:24:57 +00:00
- `colmena apply` - deploy config
- `passwd` - set user passwords
- rsync state:
- `/var/lib`:
- `acme/.lego`
- `bin_rs`
- `fail2ban`
- `grafana`
2024-11-29 16:07:02 +00:00
- `headscale`
- `hedgedoc`
2023-04-30 10:49:28 +00:00
- `mastodon`
- dump and import Postgres and Redis DBs
- `matterbridge`
2023-03-07 19:24:57 +00:00
- `mc-e2e`
2023-05-01 09:00:19 +00:00
- `mc-enigmatica-8`
- `mstdn-ebooks`
- `nyandroid`
- `prometheus2`
2024-05-22 00:11:27 +00:00
- `prosody`
2023-03-26 16:14:49 +00:00
- `/home/ftp`
2024-11-29 16:07:02 +00:00
Agathas-Mac-mini/Ritual:
- `darwin-rebuild switch --flake .` - deploy config
[Last commit which includes BSPWM configs](https://git.lain.faith/sorceress/nix-infra/commit/e60bbd7f41bdb4456319637f38a25425b6f5fef7)
2023-03-07 19:25:16 +00:00
### Rsyncd Modules
Modded minecraft instance rsync modules can be accessed through `mc-[modpack]@bloodletting::mc-[modpack]` with `--rsh=ssh`
2023-07-27 18:14:07 +00:00
### Updating mastodon
```sh
2023-12-17 20:05:44 +00:00
cd common/pkgs/mastodon && ./update.sh --owner AgathaSorceress --rev <commit hash>
2023-07-27 18:14:07 +00:00
```