nixGL VS nixos-generators

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

nixGL

A wrapper tool for nix OpenGL application [maintainer=@guibou] (by nix-community)
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
nixGL nixos-generators
26 20
616 1,563
2.6% 3.5%
5.1 8.3
about 1 month ago 7 days ago
Nix Nix
- 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.

nixGL

Posts with mentions or reviews of nixGL. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-09-28.
  • Ask HN: Are there wrapper/runner programs that encrypt writes and decrypt reads?
    1 project | news.ycombinator.com | 22 Apr 2024
    How can a program accomplish this? by using/doing something like virtualization? emulation? syscall/API translation? e.g. like WINE?

      [1] https://github.com/nix-community/nixGL
  • Nix without NixOS, how doable is this and how much do I miss?
    2 projects | /r/NixOS | 28 Sep 2023
    Essentially, running stuff that needs GL graphics is a bit funky... There's a workaround called nixGL though.
  • Calibre Replacement Considerations
    6 projects | news.ycombinator.com | 2 Sep 2023
    I think installing Calibre is a good use case for installing Nix (www.nixos.org).

    Unfortunately, you might also need https://github.com/guibou/nixGL to run graphical apps under Nix. It's a shell script to use the correct OpenGL library.

  • Nix-env apps on Debian unable to be executed via GUI KDE.
    1 project | /r/NixOS | 30 Jun 2023
    Try the NixGL wrapper.
  • Issue: with python-matplotlib
    1 project | /r/NixOS | 19 May 2023
    Are you running the Nix package manager on not-NixOS? If so I recall needing NixGL for OpenGL integration.
  • How do I update packages when using home-manager?
    2 projects | /r/NixOS | 7 Apr 2023
    $ nix-channel --list home-manager https://github.com/nix-community/home-manager/archive/release-22.05.tar.gz nixgl https://github.com/guibou/nixGL/archive/main.tar.gz nixos https://nixos.org/channels/nixos-unstable
  • functional
    2 projects | /r/linuxmemes | 24 Mar 2023
    Needs a separate program to run GUI applications on non-NixOS systems
  • Imagine your entire purpose being made completely obsolete by a single compiler option
    1 project | /r/linuxmemes | 22 Feb 2023
    IMO the proper solution to this is Nix/Guix, since they have the best of both worlds (sharing libraries where possible, but allowing different versions where needed). Shame that libGL is a mess and as such is difficult to get right in this way, and as such you need hacks like https://github.com/guibou/nixGL for most GUI stuff. That said, people are working on improving the situation.
  • Setting up my new laptop: Nix style
    5 projects | news.ycombinator.com | 24 Dec 2022
    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
  • Unable to run alacritty using nix
    1 project | /r/linuxquestions | 29 Nov 2022
    nix-channel --add https://github.com/guibou/nixGL/archive/main.tar.gz nixgl && nix-channel --update warning: unable to download 'https://cache.nixos.org/v5djb4jw3hg4brdbidqaspin8n8isyq6.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 259 ms these derivations will be built: /nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv building '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv'... while setting up the build environment: executing '/bin/bash': No such file or directory builder for '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed with exit code 1 error: build of '/nix/store/gm6gq44ivdqgmrsvlsr08d2nqjircgds-nixgl.drv' failed error: program '/usr/bin/nix-build' failed with exit code 100

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 nixGL and nixos-generators you can also consider the following projects:

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

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

flake-utils-plus - Use Nix flakes without any fluff.

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

not-os - An operating system generator, based on NixOS, that, given a config, outputs a small (47 MB), read-only squashfs for a runit-based operating system, with support for iPXE and signed boot.

nix - Nix, the purely functional package manager

archbox - Easy to use Arch Linux chroot environment with some functionalities to integrate it with your existing Linux installation. Mirror of https://momodev.lemniskett.moe/lemniskett/archbox

nix-gaming - Gaming on Nix

napalm - Support for building npm packages in Nix and lightweight npm registry [maintainer @jtojnar]

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

nix-bundle - Bundle Nix derivations to run anywhere!

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