Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>Nix Extension PackNew to Visual Studio Code? Get it now.
Nix Extension Pack

Nix Extension Pack

pinage404

|
26,635 installs
| (1) | Free
Collection of extensions for Nix ecosystem (NixOS, Flake, DirEnv ...)
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Nix VS Code Extension Pack

Collection of extensions for Nix ecosystem (NixOS, Flake, DirEnv ...)

Visual Studio Marketplace Installs Open VSX Downloads

Features includes:

  • Load environment inside VSCode
  • Error reporting
  • Rename
  • Go to definition
  • Syntax highlighting
  • Comment

Requirements

Nix IDE

To enjoy all the features of the Nix IDE extension, it is recommended to add it to your settings:

{
	"nix.enableLanguageServer": true
}

And have rnix-lsp in your environment:

{ pkgs, ... }:

pkgs.mkShell {
  buildInputs = with pkgs; [
    rnix-lsp
  ];
}

Alternative: you can install only nixpkgs-fmt but not all features will be available

{ pkgs, ... }:

pkgs.mkShell {
  buildInputs = with pkgs; [
    nixpkgs-fmt
  ];
}

DirEnv

To enjoy the direnv extension, follow the direnv installation procedure

Want to see more extension added?

Open a MR or an issue and i will to take a look

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft