nix-helpers VS nixos-generators

Compare nix-helpers vs nixos-generators and see what are their differences.

nix-helpers

Mirror of http://chriswarbo.net/git/nix-helpers.git (by Warbo)
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
nix-helpers nixos-generators
2 20
8 1,553
- 7.3%
7.5 8.3
3 months ago 4 days ago
Nix Nix
Creative Commons Zero v1.0 Universal MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

nix-helpers

Posts with mentions or reviews of nix-helpers. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-08-12.
  • NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
    11 projects | news.ycombinator.com | 12 Aug 2023
    Yes, to get Nixpkgs it's much faster to use `fetchTarball`.

    You're right that `builtins.fetchTarball` is faster than `builtins.fetchGit` (due to the ridiculous amount of commits in the Nixpkgs repo). I like to keep such definitions in a single, company-wide/project-agnostic git repo (what the Nix Pills series calls the "repository pattern"), and have individual projects import them via `builtins.fetchGit`.

    Many years ago we didn't have `builtins.fetchGit`, so had to use the 'fetchgit' function from Nixpkgs instead. That created a chicken-and-egg situation if we wanted to take the Nixpkgs version from some other git repo; hence needing to "bootstrap" via `(import { config = {}; }).fetchgit`, and cross our fingers that `NIX_PATH` wasn't set to some crazy value (which, of course, I would inevitably do... https://github.com/Warbo/haskell-te/blob/24475a229908caa3447... )

    Note that we need `config = {};` when importing Nixpkgs to avoid an impurity which tries to read files in $HOME. More recent versions of Nixpkgs also need `overlays = [];` to avoid another impurity (looks like this changed at Nixpkgs 17.03, according to https://github.com/Warbo/nix-helpers/blob/master/nixpkgs.nix )

  • The Curse of NixOS
    35 projects | news.ycombinator.com | 24 Jan 2022
    Where nixpkgs2105 is a pinned revision of the Nixpkgs repo, defined in another overlay. My current Nix config has pinned Nixpkgs versions going back to 2016. For example, here's a bunch of such overrides:

    https://github.com/Warbo/nix-config/blob/master/overrides/fi...

    At the moment I'm using niv to manage the pinned Nixpkgs versions (the 'repoXXXX' entries):

    https://github.com/Warbo/nix-helpers/blob/master/nix/sources...

nixos-generators

Posts with mentions or reviews of nixos-generators. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-26.
  • NixOS-generators – Collection of VM and Container disk image builders for NixOS
    4 projects | news.ycombinator.com | 26 Mar 2024
  • NixOS: Declarative Builds and Deployments
    13 projects | news.ycombinator.com | 14 Jan 2024
    https://github.com/nix-community/nixos-generators
  • NixOS RFC 136 accepted: A plan to stabilize the new CLI and Flakes incrementally
    11 projects | news.ycombinator.com | 12 Aug 2023
    Those Linode instructions are about installing an OS from an installation ISO from Linode's rescue mode. -- I'd consider that more a 'plus' to Linode that you get to be able to install whatever unsupported Linux on Linode's VMs. But, of course it's not as smooth as the officially supported images.

    Sibling comment mentions that NixOS provides ways to build VM images (e.g. https://github.com/nix-community/nixos-generators has a generator specifically for Linode).

    Another option is to use nixos-infect, which will replace a Linux distribution with a NixOS distribution. https://github.com/elitak/nixos-infect

    > At that point, I feel like all of the repeatability gains are gone. If I want to spin up a fresh server, I have to read a guide and set stuff up by hand?

    Just as with ansible, "git pull to deploy". You'd keep a copy of your NixOS configuration.nix somewhere else, and would be able to apply it later.

    > it really does let me just get a new VPS and deploy to it very fast

    Using a tool you're familiar with to get the job done is going to be faster than learning to use a tool you're unfamiliar with.

    I believe much of the use of NixOS is for hobby stuff, and for personal machines. (c.f. "In what environments do you use Nix", Development (1242) vs Home Server (845) vs Production (386) https://discourse.nixos.org/t/2022-nix-survey-results/18983).

  • Questions about Nix
    1 project | /r/NixOS | 17 Jun 2023
  • Couple of noob questions
    6 projects | /r/Nix | 20 May 2023
    If you need to generate lxc container in NixOS then perhaps this repo might be useful: https://github.com/nix-community/nixos-generators this article uses it https://www.thedroneely.com/posts/running-nixos-linux-containers/
  • disko-images - Create qcow2 images from NixOS + disko configuration
    3 projects | /r/NixOS | 18 May 2023
    You might wanna check out nix-community/nixos-generators, it’s maintained by the same dude as Disko
  • How to do machine specific config on EC2 using an official nixos ami?
    2 projects | /r/NixOS | 1 Apr 2023
    You can look at nixos-generators for support code that well let you take existing configs and build a variety of bootable images from them.
  • Flake to make NixOS iso
    2 projects | /r/NixOS | 21 Mar 2023
    You should take a look at NixOS Generators, it's a flake with configs to build common formats like ISO, LXC, Docker, etc. I use that to generate an ISO with my config, specifically the packages.iso section.
  • Need help with NixOs VM Generation
    2 projects | /r/NixOS | 25 Feb 2023
    I am trying to make use of https://github.com/nix-community/nixos-generators to generate qcow2 images from a NixOs configuration. Since it will be used with Scaleway, they require an efi bootable image.
  • [NixOS] How to Migrate From one Server to another? KVM to VMware
    1 project | /r/linuxquestions | 31 Jan 2023
    I haven't migrated machines from one vm provider to vmware, but I have provided a number of pregenerated nixos images (along the line of https://github.com/nix-community/nixos-generators) to clients to install onto vmware (and other - hyperv, xen, qemu, physical) hosts.

What are some alternatives?

When comparing nix-helpers and nixos-generators you can also consider the following projects:

aconfmgr - A configuration manager for Arch Linux

poetry2nix - Convert poetry projects to nix automagically [maintainer=@adisbladis]

star-history - The missing star history graph of GitHub repos - https://star-history.com

NixOS-docker - DEPRECATED! Dockerfiles to package Nix in a minimal docker container

nix-fpga-tools

nix - Nix, the purely functional package manager

nvd

nix-gaming - Gaming on Nix

nixos-beginners-handbook - The missing handbook for NixOS beginners

nixops - NixOps is a tool for deploying to NixOS machines in a network or cloud.

nixpkgs-config - ~/.config/nixpkgs

digga - A flake utility library to craft shell-, home-, and hosts- environments.