feat: remove testing from claude.md as we do it with stop hooks now

This commit is contained in:
Dominik Polakovics Polakovics 2026-02-12 12:31:16 +01:00
parent 4c6e7bdddd
commit 036833945d

View file

@ -12,10 +12,6 @@ This is a NixOS infrastructure repository managing multiple hosts (servers and p
# Enter development shell (sets up MCP configs)
nix-shell
# Test configuration before deployment (required before PRs)
./scripts/test-configuration <hostname>
./scripts/test-configuration -v <hostname> # with --show-trace
# Edit encrypted secrets
nix-shell -p sops --run 'sops hosts/<hostname>/secrets.yaml'
@ -80,17 +76,6 @@ utils/pkgs/<package-name>/
└── (other files like patches, lock files)
```
**IMPORTANT: When modifying a custom package** (patches, version updates, etc.), always test by building the package directly, not just running `test-configuration`. The configuration test only checks that the Nix expression evaluates, but doesn't verify the package actually builds:
```bash
# Build a custom package directly to verify it works
nix-build -E 'with import <nixpkgs> { overlays = [ (import ./utils/overlays/packages.nix) ]; config.allowUnfree = true; }; <package-name>'
```
## Workflow
Run `./scripts/test-configuration <hostname>` to verify NixOS configuration changes build successfully.
## Conventions
- Nix files: two-space indentation, lower kebab-case naming