Setting up my new laptop: Nix style

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Stream - Scalable APIs for Chat, Feeds, Moderation, & Video.
Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
getstream.io
featured
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
  1. devenv

    Fast, Declarative, Reproducible, and Composable Developer Environments using Nix

    Nix can be a huge pain to use, and with the recent redesign it somehow feels even more disjointed than before. But it's still one of my favorite pieces of software. I think a clean interface like https://devenv.sh/ could make all the difference (havent tried it yet but looks promising).

    That said, if I understand you correctly, I think nix does let you do what you're describing. You can make an overlay, which is a way to modify a set of packages by reaching in and changing build instructions or add packages to the set. So, you can make an overlay of nixpkgs and add a modified libgcc called mylibgcc to the set. In the same overlay, you can modify package A and package B that depend on libgcc, and change their build instructions, including making them use mylibgcc as a build dependency. If you do this for then both packages will use mylibgcc as a single shared dependency without duplicating it.

    Im on mobile but could try to send a working example if you need one, lmk.

    Some references:

    https://nixos.wiki/wiki/Nixpkgs/Modifying_Packages

    https://nixos.wiki/wiki/Overlays

  2. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  3. nixGL

    A wrapper tool for nix OpenGL application [maintainer=@guibou]

    I get what you mean, but keep in mind that for every distro you're reliant on the community to get nvidia support integrated. Also if you only have few apps that require it, then the nixGL flake is not bad. https://github.com/guibou/nixGL

  4. devbox

    Instant, easy, and predictable development environments

    Depending on your use case, devbox (https://github.com/jetpack-io/devbox) could be what you're looking for. It is powered by Nix, but abstracts the nix language away, so that you can use it like a "regular" package manager.

    Currently it works on a "per-project" basis, but we're planning to add support to use it as your primary package manager for global installs as well.

  5. nixpkgs

    Nix Packages collection & NixOS

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Question about managing development environments in NixOS

    4 projects | /r/NixOS | 14 Mar 2023
  • How do I create a docker image for postgres with nix?

    4 projects | /r/NixOS | 10 Mar 2023
  • Nix and NixOS, my pain points

    6 projects | news.ycombinator.com | 25 Dec 2022
  • Dev environments in the cloud are a half-baked solution

    5 projects | /r/programming | 8 Dec 2022
  • Not a developer, is nix os good for daily regular use without going through the hard stuff ?

    2 projects | /r/NixOS | 6 Dec 2022

Did you know that Nix is
the 29th most popular programming language
based on number of references?