code-manage-nix

Installation
SKILL.md

Search for and add Nix packages to the environment.

Process

  1. Identify Package:

    • Get the common name from user (e.g., "ripgrep", "python requests")
    • Use nix-locate (via Bash) or WebSearch to find the exact attribute path in nixpkgs (e.g., pkgs.ripgrep, pkgs.python3Packages.requests)
    • Crucial: Verify the package exists in the current nixpkgs channel/version
  2. Detect Configuration:

    • Locate flake.nix, shell.nix, or default.nix
    • Identify where buildInputs or packages are defined
  3. Modify Configuration:

    • Add the verified package attribute to the list
    • Maintain alphabetical order if existing list is sorted
    • Use write_file or replace to apply changes
Installs
1
Repository
sirn/dotfiles
GitHub Stars
8
First Seen
Mar 3, 2026
code-manage-nix — sirn/dotfiles