ryanrasti

ryanrasti / typenix

Public

Full typing for Nix based on TypeScript

55
0
100% credibility
Found Mar 11, 2026 at 33 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

TypeNix is a code editor extension that brings full autocomplete, type checking, documentation hovers, and navigation features to Nix configuration files.

How It Works

1
🔍 Discover TypeNix

You hear about a helpful tool that makes writing Nix files easier, like having super-smart help in your code editor.

2
⬇️ Install easily

Find it in your code editor's add-ons store and add it with one click—no hassle.

3
📝 Open a Nix file

Fire up your editor and open any Nix project file you have.

4
Features light up

Watch as smart suggestions, helpful error hints, and quick info pop up automatically while you type.

5
🖱️ Explore with ease

Hover for explanations, click to jump to details, and fix issues effortlessly.

🎉 Nix coding unlocked

Now your Nix work feels smooth and powerful, like professional coding magic at your fingertips.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 33 to 55 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is typenix?

TypeNix brings TypeScript-level typing to Nix files right in VS Code, delivering autocomplete, type errors, hover docs, and go-to-definition for .nix expressions. Built as a Go-powered language server, it parses Nix like TypeScript's AST, solving the pain of error-prone manual validation in complex flakes or overlays. Nix devs get instant feedback without leaving their editor, turning config writing into a full typing experience.

Why is it gaining traction?

Unlike basic Nix syntax highlighters, TypeNix offers a full LSP with semantic checks that catch type mismatches early, like confusing attrsets with lists. It bundles Nixpkgs and builtins typings for out-of-box accuracy, and supports incremental updates for fast iteration on large projects. Devs love the VS Code-native status bar and commands for restarting or profiling the server.

Who should use this?

NixOS users crafting multi-module flakes, Home Manager tinkerers debugging option types, or DevOps teams maintaining reproducible builds with overlays. Ideal for anyone tired of `nix eval --json` cycles or runtime surprises in CI. Skip if you're on simple single-file configs.

Verdict

Worth trying for serious Nix work—install the VSIX and restart VS Code—but at 22 stars and 1.0% credibility, it's early alpha with sparse docs and no tests visible. Pair with a full GitHub tutorial on Nix setups to ramp up; expect bugs in edge cases until more polish. (187 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.