diff --git a/Development-Workflow.md b/Development-Workflow.md new file mode 100644 index 0000000..c52eb4f --- /dev/null +++ b/Development-Workflow.md @@ -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 +```