{"repo":"juspay/github-nix-ci","free":true,"listed":false,"github":"https://github.com/juspay/github-nix-ci","clone":"git clone https://github.com/juspay/github-nix-ci.git","description":"A simple NixOS & nix-darwin module for self-hosting GitHub runners","language":"Nix","stars":105,"topics":[],"license":"MIT","category":"self-hosted-apps","readme_excerpt":"github-nix-ci github-nix-ci is a simple NixOS &amp; nix-darwin module (wrapping[^wrap] the ones in nixpkgs and nix-darwin) for [self-hosting GitHub runners][gh-runner] on your machines (which could be a remote server or your personal macbook), so as to provide self-hosted CI for both personal and organization-wide repositories on GitHub. - What it does - Getting Started - 1. Create system configuration for the machine - 2. Create personal access tokens - 3. Configure github-nix-ci runners - 4. Add the workflow to your repositories - Production - Common issues - Examples What it does We provide a [NixOS][nixos] and [nix-darwin] module[^wrap] that can be imported and utilized as easily as: Activating this configuration spins up the required GitHub runners, with appropriate [labels][label] (hostname and Nix [system]s). In conjunction with [nixci] (which is installed in the runners by default), your GitHub Actions workflow YAML can be as simple as follows in order to run CI, on your own machines, for your Nix flakes based projects: Getting Started Repurposing an existing machine for running [self-hosted GitHub runners][gh-runner] involves the following steps. 1. Create system configuration for the machine New configuration If you do not already have a NixOS (for Linux) or nix-darwin (for macOS) system configuration, begin with the templates provided by nixos-flake . Alternatively, you may start from the minimal example ( ./example ) in this repo. If you use both the platforms, yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/juspay","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/juspay/github-nix-ci/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}