From d5bf6cfbf3dab859f528344cac44be5ad1a67b8a Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Thu, 5 Jun 2025 11:06:38 +0200 Subject: [PATCH] added node npm npx from nix --- instruction.md | 12 +++++++++--- modules/users/geir.nix | 2 ++ 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/instruction.md b/instruction.md index 1e5980b..4d4743d 100644 --- a/instruction.md +++ b/instruction.md @@ -14,10 +14,11 @@ The Plan.md file should have the project information and steps. ## Programming Languages and styles - Prefer functional style -- Guille scheme for -- Python for ai and when guile +- Guille scheme for scripting tasks +- Python for ai and when python ecosystem is better - Bash only for short scripts -- Typescript and javascript for web +- Typescript and javascript for web development +- prefer to use vite to start new web dev projects - Rust for binary tools etc ## Written language and style @@ -25,6 +26,11 @@ use notes.md to take notes . Use a casual but knowledgeable tone. This is not a corporate project there are no audits or compliance to adhere to. More like an open source project, more like a hobby/passion project +## Documentation and Research Tools +- **Always use context7 for NixOS information**: When working with NixOS configurations, modules, or need NixOS documentation, always use the context7 MCP server to get up-to-date and accurate information +- Use context7 to resolve NixOS option names, module configurations, and best practices +- Context7 provides authoritative NixOS documentation that's more reliable than general knowledge + # AI Agent Instructions: NixOS Flakes Migration for CongenitalOptimist ## Overview This part of the document provides step-by-step instructions for AI agents to help migrate the CongenitalOptimist machine from traditional NixOS configuration to flakes-based configuration and upgrade to NixOS 25.05. The system already has excellent modular structure that we'll preserve and enhance. diff --git a/modules/users/geir.nix b/modules/users/geir.nix index 64e7a79..2248261 100644 --- a/modules/users/geir.nix +++ b/modules/users/geir.nix @@ -75,6 +75,8 @@ # Development Tools git-credential-manager github-cli + nodejs + nodePackages.npm # Containers & Cloud podman-compose