MatthewCash / nix-inputs

Inputs for nixos-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nix-inputs

Flake inputs for nixos-config

Current inputs size: 622M

Why

Many of my flake's inputs use the github: fetcher, but GitHub aggressively rate-limits their API for unauthenticated users to 60 requests / hour.

To prevent a rate-limit error when performing flake-related operations, dependencies are automatically consolidated in this repository and loaded as a single input.

How

  1. A dummy flake is created and its dependencies are solved using the provided inputs.nix
  2. The sources for the dummy flake's inputs and all of the input's dependencies are copied to deps/
  3. The output flake, flake.nix, is generated with all inputs redirected to deps
  4. The dummy flake's lockfile is copied to resolved-flake.lock for simpler dependency tracking

About

Inputs for nixos-config