2023-02-10 17:34:46 +00:00
|
|
|
# Nix Infra Config
|
2023-03-07 19:24:57 +00:00
|
|
|
Using [colmena](https://github.com/zhaofengli/colmena)
|
2023-02-10 17:34:46 +00:00
|
|
|
|
|
|
|
## Hosts
|
|
|
|
- `bloodletting`: Main server
|
2023-03-26 16:14:49 +00:00
|
|
|
- `ritual`: NixOS laptop
|
2023-02-10 17:34:46 +00:00
|
|
|
|
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
|
2023-02-10 17:34:46 +00:00
|
|
|
- `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
|
2023-02-10 17:34:46 +00:00
|
|
|
- `matterbridge`
|
2023-03-07 19:24:57 +00:00
|
|
|
- `mc-e2e`
|
2023-05-01 09:00:19 +00:00
|
|
|
- `mc-enigmatica-8`
|
2023-02-10 17:34:46 +00:00
|
|
|
- `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-02-10 17:34:46 +00:00
|
|
|
|
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-02-10 17:34:46 +00:00
|
|
|
## Reference configs used
|
|
|
|
- https://github.com/Xe/nixos-configs
|
|
|
|
- https://git.nora.codes/nora/nixconfig
|