# 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 ```shell ssh cd /etc/nixos nix run .#apps.nixos-diff # git pull + build + diff wth running config nixos-rebuild switch # Apply changes ``` ## Special things Production: - [Matrix (matrix.berlin.ccc.de)](./README.matrix.md) Testing: - [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) --- Build with ❤️ and ❄️.