homelab/docs/README.md
plasmagoat 73d2f44d74
Some checks failed
Test / tests (push) Failing after 2m27s
/ OpenTofu (push) Successful in 9s
updated docs
2025-07-29 16:58:09 +02:00

2.4 KiB

Homelab Documentation

Auto-generated documentation for the homelab deployment

Generated on: $(date) Source: $(pwd)

📚 Documentation Files

This documentation is automatically generated from your colmena flake configuration.

📊 Overview Documents

📖 Detailed Configuration

🚀 Quick Actions

View Current Status

```bash

Service status across fleet (if homelab CLI is available)

homelab services --global

Backup status

homelab backups --global

Overall status

homelab status ```

Update Documentation

```bash

Regenerate all documentation

homelab-generate-docs ./docs

Generate in different directory

homelab-generate-docs /path/to/output ```

📋 Quick Stats

  • Total Nodes: 2
  • Homelab-Enabled Nodes: 2
  • Generated: tir 29 jul 16:57:16 CEST 2025

🛠️ Management Tools

Documentation Commands

  • homelab-generate-docs - Regenerate this documentation
  • homelab-docs-fleet - Generate fleet overview only
  • homelab-docs-nodes - Generate node configurations only
  • homelab-docs-services - Generate service configurations only
  • homelab-docs-deployment - Generate deployment state only

Colmena Commands

  • colmena eval - Evaluate flake expressions
  • colmena apply - Deploy configuration changes
  • colmena build - Build configurations without deploying

🎯 Integration with CI/CD

GitHub Actions Example

name: Generate Documentation
on:
  push:
    branches: [ main ]

jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v4
    - uses: cachix/install-nix-action@v24
    - name: Generate docs
      run: nix develop --command homelab-generate-docs ./docs
    - name: Commit docs
      run: |
        git add docs/
        git commit -m "docs: update homelab documentation" || exit 0
        git push

Manual Generation

# From your homelab directory
nix develop
homelab-generate-docs ./docs
git add docs/ && git commit -m "Update docs"

This documentation reflects the live state of your homelab deployment as evaluated by colmena.