An Overview of Nix in Practice

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • compose2nix

    A tool to automatically generate a NixOS config from a Docker Compose project.

  • You can run containers on NixOS (also through systemd) and get the same benefits explained in this article. NixOS supports both Podman and Docker as a runtime. There is also the option to run NixOS containers. See: https://nixos.wiki/wiki/NixOS_Containers.

    The Docker Compose story is a bit rough around the edges, though. I’m actually working on a tool to automatically convert a Compose file into a NixOS config you can import as-is. Still kinda early, but the skeleton works: https://github.com/aksiksi/compose2nix

  • Home Manager using Nix

    Manage a user environment using Nix [maintainer=@rycee]

  • > Channels are, AFAIU, a reference to some point-in-time/commit/version of nixpkgs

    It's not specifically nixpkgs, but any Nix code generally.

    Per the Nix manual[0]:

    > Channels are a mechanism for referencing remote Nix expressions and conveniently retrieving their latest version.

    e.g. home-manager's suggested channel is just the github tarball for the relevant branch[1]:

      nix-channel --add https://github.com/nix-community/home-manager/archive/master.tar.gz home-manager

  • 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
  • nur-packages-template

    A template for NUR repositories: [maintainer=@fgaz]

  • e.g. I think it's common for users to share their config or sets of packages with something like a "nix user repository" https://github.com/nix-community/nur-packages-template

  • nix.dev

    Official documentation for getting things done with Nix.

  • nixos-anywhere

    install nixos everywhere via ssh [maintainer=@numtide]

  • I think things are pretty good with nixos-anywhere[1] now. I made a video last month walking through the process of provisioning a VPS on Hetzner Cloud[2] if you want to see what the process looks like in real-time.

    [1]:https://github.com/nix-community/nixos-anywhere

    [2]: https://www.youtube.com/watch?v=wr22CyoyRo4

  • nixos-wsl-starter

    A sane, batteries-included starter template for running NixOS on WSL

  • I've been trying to encourage people to give NixOS in VMs a try as a safe way to build up a nice working environment while still maintaining your daily driver until you're interested in/ready to switch. I have a starter template for NixOS on WSL[1] with an accompanying walkthrough[2] if you want to get an idea of how much effort this might require on your part.

    [1]: https://github.com/LGUG2Z/nixos-wsl-starter

    [2]: https://www.youtube.com/watch?v=UmRXXYxq8k4

  • nix

    Nix, the purely functional package manager

  • You can also configure the consumer to consume it over ssh without special setup on the host. But it opens a connection for every single request so it ends up killing the performance [1]

    [1] - https://github.com/NixOS/nix/issues/8794

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • gokrazy

    turn your Go program(s) into an appliance running on the Raspberry Pi 3, Pi 4, Pi Zero 2 W, or amd64 PCs!

  • main

    OCI base images of Fedora with batteries included (by ublue-os)

  • What you are looking for is UBlue, https://github.com/ublue-os/main.

    It's a variant of Silverblue with Nvidia drivers built in.

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