nix-index VS nixos-config

Compare nix-index vs nixos-config and see what are their differences.

nix-index

Quickly locate nix packages with specific files [maintainers=@bennofs @figsoda @raitobezarius] (by nix-community)

nixos-config

Nix configuration for macOS / NixOS with starter templates, step-by-step guides, and more ✨ (by dustinlyons)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
nix-index nixos-config
11 35
715 1,018
7.1% -
5.6 9.9
12 days ago 8 days ago
Rust Nix
GNU General Public License v3.0 or later BSD 3-clause "New" or "Revised" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nix-index

Posts with mentions or reviews of nix-index. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-24.
  • Where to find SAR in the package manager?
    3 projects | /r/NixOS | 24 Jun 2023
    nix-index can be used to provide this functionality, and to automate this process you can use nix-index-database (setup instructions are in the README).
  • Nix journey part 0: Learning and reference materials
    11 projects | news.ycombinator.com | 1 Mar 2023
    Are you using flakes? AFAIK `command-not-found` does not work with them. See https://github.com/NixOS/nixpkgs/issues/171054 and https://discourse.nixos.org/t/why-isnt-there-an-official-bui...

    I think `nix-index` works as a replacement: https://github.com/bennofs/nix-index

  • spd-say on NixOS
    1 project | /r/NixOS | 20 Jan 2023
    If you are on another distro or mac os there is also nix-index
  • Nix Package Search
    2 projects | /r/NixOS | 5 Nov 2022
    nix-index is another option for searching for pkgs. You can search by name, or by specific files within a pkg.
  • Alternative to the "dnf provides"
    2 projects | /r/NixOS | 15 Oct 2022
  • Building a program in NixOS
    1 project | /r/NixOS | 4 Aug 2022
    You can use nix-locate from https://github.com/bennofs/nix-index to find files on NixOS:
  • What is the package to install the gsettings binary?
    1 project | /r/NixOS | 11 Jun 2022
    nix-index makes it trivial to find which package contains a given file.
  • How to properly setup git clang-format in a shell.nix
    2 projects | /r/NixOS | 6 Jun 2022
    There are two ways I know of: - If you use old-school channels, there's an index in the channel. In particular, the command-not-found hook is able to use that. In this particular case, you would have to guess that git will look for the git-clang-tools, and command-not-found that. This looks like it only works for programs, not arbitrary files. - In any case, you can use the more general nix-index. That's what I did because I use flakes.
  • An automatically-updated nix-index
    2 projects | /r/NixOS | 15 May 2022
    I use nix-index a lot to find which derivation a file belongs to, but building the index takes a while and so I end up not updating it very frequently.
  • Rant: I want nix, but I'm almost done
    2 projects | /r/NixOS | 29 Jan 2022
    Look at the library missing say X Use nix-locate to find the derivation that includes libX.dylib file (if it can’t find the macOS dylib version of the file try using the same name for linux by changing dylib for so) Add the derivation to you environmental and try again It will find the next missing library on the next compile.

nixos-config

Posts with mentions or reviews of nixos-config. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-15.
  • Going declarative on macOS with Nix and Nix-Darwin
    7 projects | news.ycombinator.com | 15 Jan 2024
    I’ve been using Nix directly on MacOS with minimal issues for a few years now. Works great.

    I hate using docker on Mac and have since replaced it with flakes and devenv.

    My configuration with a step by step guide (600+ stars): https://github.com/dustinlyons/nixos-config

  • Flakes aren't real and cannot hurt you: using Nix flakes the non-flake way
    6 projects | news.ycombinator.com | 9 Jan 2024
    I tried to make Nix as easy to adopt as possible by creating Nix commands and a step by step guide: https://github.com/dustinlyons/nixos-config

    I love Nix. I use it every day to manage multiple local dev environments. And I use devenv instead of docker for sharing project-specific environments with others.

  • 2024-01-01 Emacs News
    3 projects | news.ycombinator.com | 5 Jan 2024
    Felt (still am, actually) this problem too. Started with the same approach (Vanilla Emacs) a few years back in order to really learn the ins-and-outs after giving DOOM and others a shot and feeling like I didn't have the faintest what was really going on with all the magic. I somehow did end up falling in love with Emacs again[^1].

    Won't lie... there was a fair amount of cursing involved and, despite the love, I wouldn't recommend many to venture down this road[^2].

    Now I have gone the literate config way in my dotfiles https://github.com/vidbina/dotfiles/tree/main/emacs and I jump between Cursor (vscode-based), Neovim and Emacs for different tasks on a daily. I also found dustinlyons/nixos-config (https://github.com/dustinlyons/nixos-config/blob/main/module...) just a few days ago and figured that could be a fun resource when you're building yours up.

    Take it as a hobby. There are a bunch of nice things that I picked up from Emacs (a. literate configs, b. comfort around working with LISPs, c. bigger appreciation for parts of the GNU ecosystem, d. more in-depth understanding of how my editor works which helps me debug issues in Neovim or vscode when I see them) but I still think that I'm cursed by wanting to go down this road so badly. Wish I could just vscode my way through live and build dope stuff, unencumbered.

    1: Used Emacs heavily in college over 12 years ago when I would boot the Windows + Novell groupware school computers into my own Ubuntu config with my Emacs and embedded dev toolchain from my pendrive.

    2: The single-threaded-ness and related ocassional unresponsiveness/hangups still grind my gears.

  • Adding a Mac to my flake
    2 projects | /r/NixOS | 8 Dec 2023
    Here is my flake using home manager on Mac: https://github.com/dustinlyons/nixos-config
  • Show HN: You can try my unified Nix environment for macOS/NixOS
    1 project | news.ycombinator.com | 13 Nov 2023
    1 project | news.ycombinator.com | 13 Nov 2023
  • Nix Survival Mode: macOS upgrades won't break Nix anymore
    12 projects | news.ycombinator.com | 25 Oct 2023
    What do I need to do to switch from an official Nix install to using nix-installer on macOS? Just uninstall the current nix and install using nix-installer?

    My config is loosely based off https://github.com/dustinlyons/nixos-config if this matters. Using nix-darwin.

  • Nix configuration for MacOS and NixOS w/ starter templates + step-by-step guides
    1 project | /r/developers | 19 Oct 2023
  • Thinking about buying a macbook, does Emacs work well?
    6 projects | /r/emacs | 8 Jul 2023
    My configuration uses Nix.
  • Ask HN: Could you show your personal blog here?
    55 projects | news.ycombinator.com | 4 Jul 2023
    Not my personal notes, but how I do my writing and organize my thoughts. This is my Nix configuration that powers my Macbook, Linux PC, and home lab server. Emacs + org-roam to capture everything. https://github.com/dustinlyons/nixos-config

What are some alternatives?

When comparing nix-index and nixos-config you can also consider the following projects:

nix-index-database - Weekly updated nix-index database [maintainer=@Mic92]

guix-config - Literate configuration for Guix Linux ⛰️

colmena - A simple, stateless NixOS deployment tool

nvd

nickel - Better configuration for less

disko - Declarative disk partitioning and formatting using nix [maintainer=@Lassulus]

persway - Petite Puppeteer of Pandemonium - your very own Sway IPC Imp

plasma-manager - Manage KDE Plasma with Home Manager

nix-doc - An interactive Nix documentation tool providing a CLI for function search, a Nix plugin for docs in the REPL, and a ctags implementation for Nix script

homebridge - HomeKit support for the impatient.

cue - The home of the CUE language! Validate and define text-based and dynamic configuration

nixos-x260 - Contains the configuration of every home computers