/nur-packages

My personal NUR repository

Primary LanguageNixMIT LicenseMIT

nur-packages

My personal NUR repository

Build and populate cache Cachix Cache

Usage

You can follow the NUR guide to import the whole NUR namespace and use the repo as nur.repos.dcsunset. This will use the official build of this NUR repo.

To use this repo directly (latest) without the whole NUR namespace, add the following to your flake.nix config:

{
  inputs = {
    nur-dcsunset = {
      url = "github:DCsunset/nur-packages";
      inputs.nixpkgs.follows = "nixpkgs";
    };
  };

  outputs = { self, nixpkgs, ... }@inputs: {
    nixosConfigurations.default = nixpkgs.lib.nixosSystem {
      system = "x86_64-linux";
      modules = [
        # Add packages from this repo
        {
          nixpkgs.overlays = [ inputs.nur-dcsunset.overlays.pkg ];
        }

        # Binary cache (optional)
        ({ ... }: {
          nix.settings.substituters = [ "https://dcsunset.cachix.org" ];
          nix.settings.trusted-public-keys = [ "dcsunset.cachix.org-1:EGXkNb1C+03/dYGG5QOFt9cXIiZcuwMLDcdZw1wlkU0=" ];
        })
      ];
    };
  };
}