Skip to content
Oeiuwq Faith Blog OpenSource Porfolio

jbadeau/mise-nix

A backend plugin for Mise that allows you to install and manage packages using Nix

jbadeau/mise-nix.json
{
"createdAt": "2025-07-16T12:38:42Z",
"defaultBranch": "main",
"description": "A backend plugin for Mise that allows you to install and manage packages using Nix",
"fullName": "jbadeau/mise-nix",
"homepage": "",
"language": "Lua",
"name": "mise-nix",
"pushedAt": "2025-10-28T15:39:20Z",
"stargazersCount": 83,
"topics": [
"asdf",
"devbox",
"devenv",
"flake",
"flox",
"home-manger",
"manager",
"mise",
"nix",
"plugin",
"tools"
],
"updatedAt": "2025-11-19T09:48:04Z",
"url": "https://github.com/jbadeau/mise-nix"
}

A Mise plugin that brings the power of the Nix ecosystem to your development workflow.

  • 🚀 100,000+ packages from nixpkgs
  • 🔌 VSCode extensions support
  • 🔌 JetBrains plugins support
Terminal window
mise plugin install nix https://github.com/jbadeau/mise-nix.git
Terminal window
# List available versions
mise ls-remote nix:hello
# Install version
mise install nix:hello@2.12.1

Uses nixhub.io for pre-built, cached packages:

Terminal window
# Latest version
mise install nix:hello
# Specific version
mise install nix:hello@2.12.1
# Version aliases
mise install nix:hello@stable
Terminal window
# GitHub
mise install "nix:hello@github+nixos/nixpkgs"
mise install "nix:hello@nixos/nixpkgs#hello"
# GitLab
mise install "nix:mytool@gitlab+group/project"
# Git URLs
mise install "nix:hello@git+https://github.com/nixos/nixpkgs.git"
Terminal window
export MISE_NIX_ALLOW_LOCAL_FLAKES=true
mise install "nix:mytool@./my-project"
Terminal window
mise install "nix:vscode+install=vscode-extensions.golang.go"

Install plugins from the nix-jetbrains-plugins repository:

Terminal window
# Install File Watchers plugin for IntelliJ IDEA Ultimate (Linux)
mise install "nix:jetbrains+install=jetbrains-plugins.x86_64-linux.idea-ultimate.2024.3.com.intellij.plugins.watcher"
# Install File Watchers plugin for IntelliJ IDEA Ultimate (macOS)
mise install "nix:jetbrains+install=jetbrains-plugins.aarch64-darwin.idea-ultimate.2024.3.com.intellij.plugins.watcher"
# Install GitToolBox for GoLand
mise install "nix:jetbrains+install=jetbrains-plugins.x86_64-linux.goland.2024.3.zielu.gittoolbox"
# Install Database Tools for WebStorm
mise install "nix:jetbrains+install=jetbrains-plugins.x86_64-linux.webstorm.2024.3.com.intellij.database"

The plugin will be automatically extracted to the correct JetBrains IDE plugin directory. Restart your IDE to activate the installed plugins.

Notes:

  • The system architecture (e.g., x86_64-linux, aarch64-darwin) must match your current system
  • Plugins are built directly from the nix-jetbrains-plugins flake repository without querying nixhub
  • You can find plugin IDs at the bottom of JetBrains Marketplace pages

Use github+ instead of github: due to mise parsing limitations.

Environment variables:

Terminal window
export MISE_NIX_ALLOW_LOCAL_FLAKES=true # Enable local flakes
export MISE_NIX_NIXHUB_BASE_URL="https://custom.nixhub.io" # Custom nixhub

Add to ~/.config/nix/nix.conf:

experimental-features = nix-command flakes
substituters = https://cache.nixos.org https://nix-community.cachix.org
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:0VI8sF6Vsp2Jxw8+OFeVfYVdIY7X+GTtY+lR78QAbXs=
Terminal window
# Setup
mise init # Install and link
# Tests
mise test # Unit tests
mise e2e # Integration tests