Skip to content

Feature a NixOS Image #14558

Description

@Malix-Labs

Nix is a purely functional package manager and build system which is increasingly used in GitHub Actions and Workflows.

Its package collection, nixpkgs, is also the most comprehensive in the world BY FAR:

Repology: Graph - Repository size/freshness map

It also is gaining exponential popularity over the years and has arguably recently reached escape velocity for building, packaging, and configuring software:

Image

Featuring Nix in another standard image such as ubuntu ones has already been requested:

However, it does not solve the fundamental issue with using Nix in standard runners:
The bloat from pre-installed (and thus unusable) software makes Nix otfen run out of space

We can verify this using https://github.com/Malix-Labs/GitHub-Action_Runner-Fetch/actions/workflows/fetch.yml

A few projects work around this, including generic ones but also more specialized ones for Nix:

But! something architecturally more correct would be to feature a dedicated NixOS image so that the whole runner would be optimized

This would end up not only fixing the storage issue when using Nix in GitHub Actions, but also being probably more efficient for both GitHub and GitHub Actions users.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions