nix-infra/README.md

44 lines
1.0 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
- `bloodletting`: Main server
2023-03-26 16:14:49 +00:00
- `ritual`: NixOS laptop
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`
- `homepage`
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`
2023-03-26 16:14:49 +00:00
- `/home/ftp`
Ritual:
- `colmena apply[-local]` - deploy config
- `mkdir -p ~/.gnupg` - create directory for gnupg
- manual configuration/login:
- Firefox
- Copy extension data
- Element
- Telegram Desktop
- Geary
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`
## Reference configs used
- https://github.com/Xe/nixos-configs
- https://git.nora.codes/nora/nixconfig