Agent Skill
2/7/2026

recharts-patterns

Data visualization patterns using Recharts 3.x - a composable charting library built with React and D3. Use when creating charts, dashboards, or data visualizations in React applications.

Z
zhongjis
0GitHub Stars
1Views
npx skills add zhongjis/nix-config

SKILL.md

Namerecharts-patterns
DescriptionData visualization patterns using Recharts 3.x - a composable charting library built with React and D3. Use when creating charts, dashboards, or data visualizations in React applications.

zshen's nix-config

This is my personal nix-config. It is always a work in progress as I love tweaking.

Special Thanks

System Status

hosthome-manager profilesystem
framework-16zshen@framework-16x86_64-linux
Zhongjies-MacBook-Prozshen@Zhongjies-MacBook-Pro.localaarch64-darwin

Get Started

  1. install nix (https://zero-to-nix.com/start/install)
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install --determinate
  1. clone this repo
  2. setup keys.txt (for sops-nix)
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";

Nix-Darwin

# first time setup
nix run nix-darwin --extra-experimental-features 'nix-command flakes' -- switch --flake .#mac-m1-max

# switch
nh darwin switch .
darwin-rebuild --list-generations
darwin-rebuild switch --switch-generation 41

NixOS

  • switch NixOS
nh os switch .
  • test NixOS (TBD)

Useful cmds

# useful nix cmds
nix run github:zhongjis/nix-update-input # upgrade specific input
nh search <query> # search nixpkgs

Development Templates

This flake provides reusable development environment templates. Use them to quickly set up project-specific dev shells.

Available Templates

TemplateDescriptionIncludes
java8Java 8 development environmentJDK 8, Maven, Lombok
nodejs22Node.js 22 development environmentNode.js 22, pnpm

Using Templates

Create a new project from a template:

# Create a new directory with the template
nix flake new -t github:zhongjis/nix-config#nodejs22 ./my-project

# Or initialize in current directory
nix flake new -t github:zhongjis/nix-config#java8 .

Enter the development shell:

# After creating from template
cd my-project
nix develop

# Or use direnv for automatic activation
echo "use flake" > .envrc
direnv allow

List available templates:

nix flake show github:zhongjis/nix-config

Secret Management

I use sops-nix's home-manager module.

nix run nixpkgs#sops -- secrets.yaml # view secrets

more about sops see https://github.com/getsops/sops#2usage

TODOs

NOTE: most of the changes (like for neovim) are changed on the way while im using it. this list just for later in case I have nothing to do.

see here

Notes

Build directly from repo

adding inputs

inputs = {
    trouble-nvim = {
      url = "github:folke/trouble.nvim";
      flake = false;
    };
}

override in overlays

  modifications = final: prev: rec {
    vimPlugins =
      prev.vimPlugins
      // {
        trouble-nvim =
          prev.vimUtils.buildVimPlugin
          {
            name = "trouble.nvim";
            src = inputs.trouble-nvim;
          };
      };
  };
Skills Info
Original Name:recharts-patternsAuthor:zhongjis