Nix Nix

Open-source Nix projects categorized as Nix | Edit details

Top 23 Nix Nix Projects

  • GitHub repo nixpkgs

    Nix Packages collection

    Project mention: Coreutils Rewritten in Rust | news.ycombinator.com | 2021-12-05

    Nixpkgs has a PR for replacing the build environment of packages with uutils-coreutils[0]. From testing by building various packages over a dozen bugs were reported upstream, but a lot of software does build successfully with uutils[1][2], including chromium, vlc, nix, rustc, emacs, vim, uutils itself etc.

    It's an interesting experiment to replace such a fundamental dependency with a rewrite. A lot of the build failures are due to uutils not implementing GNU extensions, some of which can get pretty involved.

    [0] https://github.com/NixOS/nixpkgs/pull/116274

    [1] https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-85...

    [2] https://github.com/NixOS/nixpkgs/pull/116274#issuecomment-86...

  • GitHub repo Home Manager using Nix

    Manage a user environment using Nix [[email protected]]

    Project mention: Why is Nixpkgs suddenly building everything from source? | reddit.com/r/NixOS | 2021-12-04

    nix-channel --list: home-manager https://github.com/nix-community/home-manager/archive/release-21.05.tar.gz

  • Scout APM

    Scout APM: A developer's best friend. Try free for 14-days. Scout APM uses tracing logic that ties bottlenecks to source code so you know the exact line of code causing performance issues and can get back to building a great product faster.

  • GitHub repo nix-darwin

    nix modules for darwin

    Project mention: Is there somewhere that collates all the hidden features of MacOS? | reddit.com/r/MacOS | 2021-11-16

    Meanwhile usecases exist for people who wish to interact with these configurations directly, see this post from the other day, and projects like nix-darwin or many of the scripts people have written to automate configuring a fresh install.

  • GitHub repo reflex-platform

    A curated package set and set of tools that let you build Haskell packages so they can run on a variety of platforms. reflex-platform is built on top of the nix package manager.

    Project mention: Creating a Haskell Application Using Reflex. Part 1 | dev.to | 2021-03-15

    In this series of posts, we will describe how a Haskell web application can be developed using reflex-platform. reflex-platform offers reflex and reflex-dom packages. reflex package is the Haskell implementation of Functional reactive programming (FRP). reflex-dom library contains a large number of functions, classes, and types used when dealing with DOM. The packages are separated as it is possible to use the FRP approach not only for web-development. We will develop theTodo List application that allows carrying out various manipulations on the task list.

  • GitHub repo devos

    NixOS Template

    Project mention: What's the proper way to set up nix / home manager w/ flakes, directory wise? | reddit.com/r/NixOS | 2021-11-20

    Yes, I put the repository in ~/nix. My repository is based on devos, but I am thinking of switching to a different setup, because I don't want to depend on a framework which can be an issue in updating.

  • GitHub repo nixos-generators

    Collection of image builders [[email protected]]

    Project mention: NixOS 21.05 Released | news.ycombinator.com | 2021-06-02

    If you want to build custom images just use https://github.com/nix-community/nixos-generators

  • GitHub repo nix-bundle

    Bundle Nix derivations to run anywhere!

    Project mention: Pushing/marketing the nix package manager as a Flatpak/Snap competitor? | reddit.com/r/NixOS | 2021-11-25

    Another way to approach this would be to advocate Nix as the build system for Flatpak or AppImage. Don't know what the status is of nix-bundle, but if it is possible to turn a Nix package into an AppImage with little extra work that would be ideal.

  • Nanos

    Run Linux Software Faster and Safer than Linux with Unikernels.

  • GitHub repo haskell.nix

    Alternative Haskell Infrastructure for Nixpkgs

    Project mention: Memory from finished thread is not getting reclaimed | reddit.com/r/haskell | 2021-09-09

    If you are somewhat comfortable with nix: https://github.com/input-output-hk/haskell.nix supports GHCJS 8.10.x (in particular 8.10.7).

  • GitHub repo devshell

    Per project developer environments

    Project mention: Offering $$ reward for setting up android dev environment without ever touching a GUI | reddit.com/r/NixOS | 2021-11-04

    error: undefined variable 'mkDevShell' at /nix/store/4d49n4fwilj48za9bccgm4xvrz6kakpy-source/devshell.nix:8:1: 7| # Documentation: https://github.com/numtide/devshell 8| mkDevShell { | ^ 9| name = "android-project"; (use '--show-trace' to show detailed location information)

  • GitHub repo static-haskell-nix

    easily build most Haskell programs into fully static Linux executables

    Project mention: GHC reports "Loading static libraries is not supported" | reddit.com/r/haskell | 2021-10-11

    To debug this type of problem (I have to debug linker errors regularly as part of static-haskell-nix):

  • GitHub repo snack

    Nix-based incremental build tool for Haskell projects

    Project mention: Nix as a programming language package manager? | reddit.com/r/Nix | 2021-02-19

    There's snack for Haskell: https://github.com/nmattia/snack

  • GitHub repo naersk

    Build rust crates in Nix. No configuration, no code generation, no IFD. Sandbox friendly. [maintainer: ???]

    Project mention: niv, naersk, napalm: moving on | reddit.com/r/NixOS | 2021-07-09

    I created https://github.com/nmattia/napalm/issues/34 and https://github.com/nmattia/naersk/issues/183 to move them to nix-community

  • GitHub repo flake-utils

    Pure Nix flake utility functions

    Project mention: Workspace Management With Nix Flakes: Jupyter Notebook Example | dev.to | 2021-10-30

    A Nix Flake is just an object - check out those surrounding curly braces. This object has two keys, inputs and outputs. The inputs are where we define the flake's dependencies and where to find all the tools we use. This one has two, nixpkgs and flake-utils. Each of these just points to a GitHub URL, and if you follow those links, you'll see each repo provides its own flake.nix. The outputs of each remote flake get piped into the inputs of my flake, so we can use what they provide.

  • GitHub repo arion-compose

    Run docker-compose with help from Nix/NixOS

  • GitHub repo nix-portable

    Nix - Static, Permissionless, Installation-free, Pre-configured

    Project mention: Portable homed with embedded Nix store - possible? | reddit.com/r/Nix | 2021-06-25

    You can probably hook something up using https://github.com/DavHau/nix-portable.

  • GitHub repo poetry2nix

    Convert poetry projects to nix automagically [[email protected]]

    Project mention: Ditch Your Version Manager | news.ycombinator.com | 2021-09-19

    There are multiple ways of doing it. The obvious one (updating nixpkgs) you already mentioned.

    Second way is to override[1], in documentation they are showing how to change compilation parameters, but you can also use this to change version of dependencies or source tarball for the package. As you use Nix you will eventually need to do it as sometimes package was not updated, or perhaps you need to use older version, or enable compilation option.

    Third way is to use overlay[2]. In previous way an existing package was modified. Overlay allows to completely replace or add a new one.

    For example there is a tool called poetry2nix[3], which on the fly translates python poetry lock file to Nix so nix can build them. Nixpkgs includes it and generally is frequently updated, but maybe there was a fix yesterday that hadn't made it there yet and it fixes an important bug. You can fetch that repo independently and attach it to nixpkgs (or you can use it directly).

    Nix also has upcoming feature flakes which to my understanding takes this to a new level. So you can easily compose multiple repos like this in your application.

    > Theres clearly more to Nix than just setting up language environments, which I'm guessing is where its usefuleness really kicks in. But purely for lang env set up, I'm not sure I see a point over other tooling...

    I use it this way and the killer feature for myself is that for a project all I need to have installed is Nix and I can have exact environment the dev used.

    It's not mentioned often, but I think a demo of it would be the repo for Nix program[4]. Typically when you want to compile some open source program, after you check out the repo, a hunt starts for the building tools and libraries needed. With nix you just issue build command or enter build shell[5] and things just work with no errors (or at least I did not get them when trying it a while ago. Everything worked on first try).

    [1] https://nixos.org/manual/nixpkgs/stable/#chap-overrides

    [2] https://nixos.org/manual/nixpkgs/stable/#chap-overlays

    [3] https://github.com/nix-community/poetry2nix

    [4] https://github.com/nixos/nix

    [5] https://hydra.nixos.org/build/153568733/download/1/manual/co...

  • GitHub repo nix-bitcoin

    A collection of Nix packages and NixOS modules for easily installing full-featured Bitcoin nodes with an emphasis on security.

    Project mention: Node Resiliency using VM & Snapshots | reddit.com/r/lightningnetwork | 2021-11-12

    NixOS and https://nixbitcoin.org/ makes the need for "platform recovery" obsolete.

  • GitHub repo nix-doom-emacs

    doom-emacs packaged for Nix

    Project mention: Best way to install Doom Emacs using Home Manager? | reddit.com/r/NixOS | 2021-11-20

    I use this it works great.

  • GitHub repo rust-overlay

    Pure and reproducible nix overlay of binary distributed rust toolchains

    Project mention: Fenix: rust toolchains for all channels and rust-analyzer nightly | reddit.com/r/Nix | 2021-05-12

    Can you say a bit about how this compares to oxalica’s rust overlay?

  • GitHub repo impermanence

    Modules to help you handle persistent state on systems with ephemeral root storage [[email protected]]

    Project mention: Erase your darlings: immutable infrastructure for mutable systems (erasing root on every boot) | reddit.com/r/NixOS | 2021-10-28

    Also OP, if you have decided to have an ephemeral root, you can also take a look at impermanence

  • GitHub repo flake-utils-plus

    Use Nix flakes without any fluff.

    Project mention: The future of Home Manager and Flakes | reddit.com/r/NixOS | 2021-11-10

    I no longer use the official way since I have switched to flakes. I am currently using a devos-based config, which is a boilerplate that depends on a Nix toolchain, but I plan on rewriting the config with flake-utils-plus. You probably can install home-manager using deploy-rs. See the following comment:

  • GitHub repo crate2nix

    nix build file generator for rust crates

    Project mention: Help with Nix and Rust | reddit.com/r/rust | 2021-07-16

    From my quick reading of cargo2nix's webpage yes. https://github.com/kolloch/crate2nix has a workspaces section.

  • GitHub repo nix-config

    :space_invader: NixOS configuration (by gvolpe)

    Project mention: Nix-GUI: Make NixOS usable for non-technical users through settings / GUI | news.ycombinator.com | 2021-10-10

    I think NixOS would benefit from easily accessible collection of opinionated modules/profiles/configurations with minimal set of options. Something like gnome-desktop / sway-desktop / etc. Gnome actually does pretty good job here.

    The point is: currently my NixOS and Home Manager configurations have over 2k LOC total. When you search for configurations on GitHub/Google you are likely to find complex ones. For example, quick search for "nixos gnome" (Google) gives me link to NixOS Wiki (which describes only Gnome part) and blog post (https://gvolpe.com/blog/gnome3-on-nixos/) which is useful but links to really huge configuration (https://github.com/gvolpe/nix-config) that is overwhelming to any beginner.

    Great example of such approach is nixos-hardware (https://github.com/NixOS/nixos-hardware) which provides one-line configuration covering hardware quirks.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-12-05.

Nix Nix related posts

Index

What are some of the best open-source Nix projects in Nix? This list will help you:

Project Stars
1 nixpkgs 8,169
2 Home Manager using Nix 2,416
3 nix-darwin 913
4 reflex-platform 639
5 devos 585
6 nixos-generators 509
7 nix-bundle 392
8 haskell.nix 357
9 devshell 337
10 static-haskell-nix 331
11 snack 322
12 naersk 284
13 flake-utils 250
14 arion-compose 242
15 nix-portable 219
16 poetry2nix 212
17 nix-bitcoin 202
18 nix-doom-emacs 197
19 rust-overlay 188
20 impermanence 187
21 flake-utils-plus 180
22 crate2nix 172
23 nix-config 163
Find remote jobs at our new job board 99remotejobs.com. There are 32 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com