From 036833945dcac0fc94963b458f45763c5d959e16 Mon Sep 17 00:00:00 2001 From: Dominik Polakovics Date: Thu, 12 Feb 2026 12:31:16 +0100 Subject: [PATCH] feat: remove testing from claude.md as we do it with stop hooks now --- CLAUDE.md | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index 1579b00..f70d69a 100644 --- a/CLAUDE.md +++ b/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 -./scripts/test-configuration -v # with --show-trace - # Edit encrypted secrets nix-shell -p sops --run 'sops hosts//secrets.yaml' @@ -80,17 +76,6 @@ utils/pkgs// └── (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 { overlays = [ (import ./utils/overlays/packages.nix) ]; config.allowUnfree = true; }; ' -``` - -## Workflow - -Run `./scripts/test-configuration ` to verify NixOS configuration changes build successfully. - ## Conventions - Nix files: two-space indentation, lower kebab-case naming