feat: remove testing from claude.md as we do it with stop hooks now
This commit is contained in:
parent
4c6e7bdddd
commit
036833945d
1 changed files with 0 additions and 15 deletions
15
CLAUDE.md
15
CLAUDE.md
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue