All Projects → madjar → Nox

madjar / Nox

Licence: mit
Tools to make nix nicer to use

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Nox

All Hies
Cached Haskell IDE Engine Nix builds for all GHC versions
Stars: ✭ 201 (-13.36%)
Mutual labels:  nixos, nix
Nix 1p
A (more or less) one page introduction to Nix, the language.
Stars: ✭ 219 (-5.6%)
Mutual labels:  nixos, nix
Shabka
Shabka. Declaritive description of my network, workstations and servers.
Stars: ✭ 138 (-40.52%)
Mutual labels:  nixos, nix
Arion
Run docker-compose with help from Nix/NixOS
Stars: ✭ 202 (-12.93%)
Mutual labels:  nixos, nix
Deploy Rs
A simple multi-profile Nix-flake deploy tool.
Stars: ✭ 164 (-29.31%)
Mutual labels:  nixos, nix
Nixos Weekly
NixOS Weekly Newsletter
Stars: ✭ 137 (-40.95%)
Mutual labels:  nixos, nix
Dotfiles
My dotfiles
Stars: ✭ 150 (-35.34%)
Mutual labels:  nixos, nix
Crate2nix
nix build file generator for rust crates
Stars: ✭ 123 (-46.98%)
Mutual labels:  nixos, nix
Vulnix
Vulnerability (CVE) scanner for Nix/NixOS.
Stars: ✭ 161 (-30.6%)
Mutual labels:  nixos, nix
Home Manager
Manage a user environment using Nix [maintainer=@rycee]
Stars: ✭ 2,447 (+954.74%)
Mutual labels:  nixos, nix
Nixos Manager
Manage your NixOS packages and configuration via a simple, intuitive UI
Stars: ✭ 128 (-44.83%)
Mutual labels:  nixos, nix
Mach Nix
Create highly reproducible python environments
Stars: ✭ 231 (-0.43%)
Mutual labels:  nixos, nix
Dotfiles
Configuration files for XMonad, Emacs, NixOS, Taffybar and more.
Stars: ✭ 127 (-45.26%)
Mutual labels:  nixos, nix
Nixpkgs Wayland
Automated, pre-built packages for Wayland (sway/wlroots) tools for NixOS.
Stars: ✭ 178 (-23.28%)
Mutual labels:  nixos, nix
Micro Ci
A tiny CI server built around GitHub and Nix
Stars: ✭ 126 (-45.69%)
Mutual labels:  nixos, nix
Appvm
Nix-based app VMs
Stars: ✭ 146 (-37.07%)
Mutual labels:  nixos, nix
Iohk Ops
NixOps deployment configuration for IOHK devops
Stars: ✭ 113 (-51.29%)
Mutual labels:  nixos, nix
Docker
Dockerfiles to package Nix in a minimal docker container
Stars: ✭ 114 (-50.86%)
Mutual labels:  nixos, nix
Nix Bitcoin
A collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.
Stars: ✭ 154 (-33.62%)
Mutual labels:  nixos, nix
Nixos Mailserver
A complete and Simple Nixos Mailserver
Stars: ✭ 172 (-25.86%)
Mutual labels:  nixos, nix

Nox

Nox is a small tool that makes the use of the Nix package manager easier.

Nox is written in Python 3 and requires nix 1.8 and git. It is released under MIT license.

Try it

You can install it from nixpkgs by running nix-env -i nox.

To try the last version, just clone the repository, run nix-build, and run the resulting binaries in result/bin. To install it, run nix-env -if ..

Search

Just run nox QUERY to search for a nix package. The underlying nix-env invocation is cached to make the search faster than your usual nix-env -qa | grep QUERY. In addition, package descriptions are searched as well as their names. You may specify multiple queries, in which case only packages matching all of them will be listed. Queries are considered as Python-style regular expressions.

.. image:: screen.png

Once you have the results, type the numbers of the packages to install.

Bonus: if you enter the letter 's' at the beginning of the package numbers list, a nix-shell will be started with those packages instead.

Review

The nox-review command helps you find what has changed in nixpkgs, and build changed packages, so you're sure they are not broken. There are 3 modes:

  • nox-review wip compares the nixpkgs in the current working dir against a commit, so you can check that your changes break nothing. Defaults to comparing to HEAD (the last commit), but you can change it: nox-review wip --against master^'.
  • nox-review pr PR finds the packages touched by the given PR and build them.

Experimental

I'm working on a new command, nox-update, that will display information about what is about to be updated, especially giving info not provided by nixos-rebuild:

  • Why is everything being installed?
  • Which are package upgrades?
  • Which are expression changes?
  • Which are only rebuilds trigerred by dependency changes?
  • Especially, what package triggered the rebuild?

A picture is better than a thousand words, so here is what it looks like for now:

.. image:: http://i.imgur.com/jdOGN94.png

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].