Setting up my new laptop: Nix style

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

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • devenv

    Fast, Declarative, Reproducible, and Composable Developer Environments

  • 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

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • 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

  • 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.

  • 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