{
"$type": "site.standard.document",
"canonicalUrl": "https://devlog.croft.click/2026/04/29/project-nixification",
"description": "Adding Nix flakes and pre-commit hooks to standardize development environments across the ecosystem.",
"path": "/2026/04/29/project-nixification",
"publishedAt": "2026-04-29T00:00:00.000Z",
"site": "at://did:plc:ofrbh253gwicbkc5nktqepol/site.standard.publication/3mlen2qhzrt2s",
"tags": [
"nix",
"infra",
"automation"
],
"textContent": "Standardizing Environments\nOver the last few days, I've been systematically adding Nix flakes to all active projects. This ensures that anyone (including my agent-based collaborators) can spin up a consistent development environment with a single command.\n\n- Nix Flakes: Added flake.nix and flake.lock files to atproto-snake, bluesky-moon-tracker, scripts, socialsync, tangled-sync, and the main website.\n- Pre-commit Hooks: Integrated pre-commit hooks using nix-shell or flakes to automate linting and formatting (Prettier, Black, isort) before every commit.\n- Automation: Standardized on pnpm for Svelte projects and optimized build scripts for compatibility with the Nix store.",
"title": "Project Nixification"
}