improve all the things

This commit is contained in:
XenGi 2026-02-08 12:38:34 +01:00
parent 7cbd49fe42
commit 0357003655
Signed by: xengi
SSH key fingerprint: SHA256:dM+fLZGsDvyv6kunjE8bGduL24VsCFB4LEOSdmRHdG0
10 changed files with 171 additions and 41 deletions

View file

@ -1,5 +1,11 @@
# Nix based CCCB infra
## Folder structure
- `./services` holds generic service configuration that is shared between hosts
- `./hosts` holds host specific configuration
- `./secrets` holds age encrypted secrets using [agenix](https://github.com/ryantm/agenix)
## Admin handbook
### Update a container
@ -7,7 +13,7 @@
```shell
ssh <container>
cd /etc/nixos
nix run .#apps.nixos-diff # Show what changes would be applied
nix run .#apps.nixos-diff # git pull + build + diff wth running config
nixos-rebuild switch # Apply changes
```
@ -15,12 +21,13 @@ nixos-rebuild switch # Apply changes
Production:
- [Matrix](./README.matrix.md)
- [Matrix (matrix.berlin.ccc.de)](./README.matrix.md)
Testing:
- [Hedgedoc](./README.hedgedoc.md)
- [Postgres](./README.postgres.md)
- [Hedgedoc (md.berlin.ccc.de)](./README.hedgedoc.md)
- [Postgres (sql.berlin.ccc.de)](./README.postgres.md)
- [Grafana/Prometheus (monitoring.berlin.ccc.de)](./README.monitoring.md)
---