Nix Package Runner

May 19, 2026 · View on GitHub

A DankMaterialShell launcher plugin for searching and running nixpkgs packages.

Features

  • Search nixpkgs packages using nix search
  • Launch packages directly with nix run
  • Run packages in terminal
  • Copy nix shell commands to clipboard
  • Copy attribute paths
  • Recent packages history
  • Configurable trigger prefix
  • Allow/unfree package support
  • Local locked or latest unstable nixpkgs source

Installation

mkdir -p ~/.config/DankMaterialShell/plugins
cd ~/.config/DankMaterialShell/plugins
git clone https://github.com/iahccc/NixPackageRunner.git

Then open DMS Settings → Plugins → Scan for Plugins, and enable Nix Package Runner.

Dependencies

  • nix
  • jq
  • wl-clipboard

Usage

  1. Open the launcher and type your trigger (default: nix) followed by a package name, e.g. nix helix
  2. Press Enter to launch with nix run, or use the context menu for terminal and copy actions

Configuration

SettingDescriptionDefault
TriggerPrefix to activate the pluginnix
Run in terminal by defaultOpen terminal for package runsfalse
Allow unfree packagesInclude unfree packages in searchtrue
Run Sourcenixpkgs source for running packageslocal_locked
Max resultsNumber of search results8
TerminalTerminal commandkitty
Exec flagTerminal exec flag-e

Screenshot

screenshot