optnix

command module
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

README

optnix

An options searcher for Nix module systems.

Introduction

optnix is a fast, terminal-based options searcher for Nix module systems.

a demo of optnix

There are multiple module systems that Nix users use on a daily basis:

And their documentation can be hard to look for. Not to mention, any external options from imported modules can be impossible to find without reading source code. optnix can solve that problem for you, and allows you to inspect their values if possible; just like nix repl in most cases, but better.

There is a website for high-level documentation available at https://optnix.snare.dev.

This repository is hosted on sr.ht, with an official mirror on GitHub.

Install

optnix is available in nixpkgs.

More installation instructions can be found on the documentation website.

Integrations

optnix can be used as a Go library, and is used as such in the following applications.

nixos-cli

optnix is used as a library in the nixos option subcommand of nixos-cli.

nixos option requires zero configuration for discovery of NixOS options.

Contributing

Prefer emailing patch sets to the official development mailing list.

While the official repository is located on sr.ht, contributions are also accepted through GitHub using the official mirror, if desired.

Additionally, filing GitHub issues is fine, but consider using the official issue tracker on sr.ht. All issues from GitHub will be mirrored there by me anyway.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL