Add Development Workflow

2025-12-18 18:31:27 +00:00
parent 70792d1669
commit 224e66d42d

34
Development-Workflow.md Normal file

@@ -0,0 +1,34 @@
# Development Workflow
This page documents how to safely develop and maintain Athenix.
## Required Checks
Before committing:
```bash
nix fmt
nix flake check
```
## Testing Hosts
```bash
nix build .#nixosConfigurations.nix-laptop1.config.system.build.toplevel
```
## CI
Gitea Actions automatically validates:
- Flake evaluation
- Formatting
- Key system builds
- Installer and container artifacts
## Rollbacks
If a system breaks:
```bash
sudo nixos-rebuild switch --rollback
```