nix

By jcdickinson

Nix Alternatives

Similar projects and alternatives to nix

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better nix alternative or higher similarity.

nix reviews and mentions

Posts with mentions or reviews of nix. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-21.
  • Devbox 0.2.0: Automatic Nix Installer, Plugins, and Background Services
    4 projects | news.ycombinator.com | 21 Dec 2022
    Thinking about it like rpm/deb is where you're getting hung up. Think of it more along the lines of npm, but for your OS (or just your profile in the case of nixpkgs+home-manager).

    At the most trivial level, you can set up some packages to install [1][2]. You'll generally come out ahead of classical package managers if you do that and nothing else.

    Nix also acknowledges the configuration issue. Think of this like copying some config files using a dockerfile. You can either use literals[3], or use the nix language to generate the config [4] (provided that someone has created the required projection from nix to config).

    What this ends up becoming is a single git repo with your entire system setup. My repo gets a bit fancier: I have my home desktop (currently Nixos, but it distrohops a lot), my personal laptop running Ubuntu+intune+nixpkgs for work, and then my work Mac machine (which I am aiming to get rid of). The single repo contains nix configs for all 3, and shares config where appropriate.

    I really need to write a blog post about Nix in 2023. The main issue with getting started right now is that the installer requires some convincing to use flakes (not to mention that flakes are disabled by default), and you really should be using flakes.

    [1]: https://gitlab.com/jcdickinson/nix/-/blob/main/system/jono-d...

  • About using Nix in my development workflow
    10 projects | news.ycombinator.com | 20 Jul 2022
    Using these with home-manager is also really simple. You simply enable nix-direnv[0], and then `use flake` in your envrc[1]. Finally, set up your flake.nix with a dev shell[2] (I'm definitely going to take a look at numtide's devshell).

    You'll also need flakes and the nix command enabled first [4] (add that line to `/etc/nix/nix.conf` if you aren't using nixos).

    Why use flakes? Mostly because it has a lockfile: there's a really good chance that "works on my machine" is "works on my team's machines." Flakes are also much cleaner than vanilla Nix.

    [0]: https://gitlab.com/jcdickinson/nix/-/blob/main/home/general.... [1]: https://gitlab.com/jcdickinson/nix/-/blob/main/.envrc#L3 [2]: https://gitlab.com/jcdickinson/nix/-/blob/main/flake.nix#L65 [4]: https://gitlab.com/jcdickinson/nix/-/blob/70844981d5cd63c839...

  • How Google got to rolling Linux releases for Desktops
    1 project | news.ycombinator.com | 12 Jul 2022
    The nice thing with flake-based NixOS is that it's trivial to cherry-pick unstable onto a stable base. I do a bunch of that in my nixconfigs: https://gitlab.com/jcdickinson/nix
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 23 Apr 2024
    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. Learn more →

Stats

Basic nix repo stats
3
-
-
-

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com