The """"official"""" froth.zone NUR https://github.com/SamTherapy/nur-packages
Go to file
Sam Therapy 0c7cc2e709
Nix is a cargo cult
2023-11-09 18:16:52 +01:00
.github Add push mirror 2023-11-08 22:36:41 +01:00
lib Initial commit 2023-11-08 16:53:37 +00:00
modules Initial commit 2023-11-08 16:53:37 +00:00
overlays Initial commit 2023-11-08 16:53:37 +00:00
pkgs awl: v0.6.9 -> v0.6.10 2023-11-08 20:09:23 +00:00
.gitignore Initial commit 2023-11-08 16:53:37 +00:00
LICENSE Initial commit 2023-11-08 16:53:37 +00:00
README.md Do the template 2023-11-08 22:19:12 +01:00
ci.nix Initial commit 2023-11-08 16:53:37 +00:00
default.nix Nix is a cargo cult 2023-11-09 18:16:52 +01:00
flake.lock Initial commit 2023-11-08 16:53:37 +00:00
flake.nix Initial commit 2023-11-08 16:53:37 +00:00
overlay.nix Initial commit 2023-11-08 16:53:37 +00:00

README.md

nur-packages-template

A template for NUR repositories

Setup

  1. Click on Use this template to start a repo based on this template. (Do not fork it.)
  2. Add your packages to the pkgs directory and to default.nix
    • Remember to mark the broken packages as broken = true; in the meta attribute, or travis (and consequently caching) will fail!
    • Library functions, modules and overlays go in the respective directories
  3. Choose your CI: Depending on your preference you can use github actions (recommended) or Travis ci.
    • Github actions: Change your NUR repo name and optionally add a cachix name in .github/workflows/build.yml and change the cron timer to a random value as described in the file
    • Travis ci: Change your NUR repo name and optionally your cachix repo name in .travis.yml. Than enable travis in your repo. You can add a cron job in the repository settings on travis to keep your cachix cache fresh
  4. Change your travis and cachix names on the README template section and delete the rest
  5. Add yourself to NUR

README template

nur-packages

My personal NUR repository

Build and populate cache

Cachix Cache