blumeops/containers/authentik/sources.nix
Erich Blume d6f76a3058 C2(authentik-source-build): impl API client generation derivations
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 11:46:38 -08:00

30 lines
919 B
Nix

# Centralized version and source pinning for authentik 2026.2.0
# All sources fetched from forge mirrors for supply chain control
{ pkgs ? import <nixpkgs> { } }:
let
version = "2026.2.0";
in
{
inherit version;
# Main authentik repo — provides schema.yml, Python backend, web UI, Go server
src = pkgs.fetchgit {
url = "https://forge.ops.eblu.me/mirrors/authentik.git";
rev = "version/${version}";
hash = "sha256-pVQ34cZYX3hlk6hF1aZ/n32xMqTF4Jmp0G0VGDU7iXc=";
};
# Go API client repo — provides config.yaml, go.mod, go.sum, templates
client-go-src = pkgs.fetchgit {
url = "https://forge.ops.eblu.me/mirrors/authentik-client-go.git";
rev = "v3.${version}";
hash = "sha256-DwXw/0QcSDYQKVhPA8tStrSoZooriQex/9FxSJtR/QY=";
};
meta = with pkgs.lib; {
description = "Authentik identity provider";
homepage = "https://goauthentik.io";
license = licenses.mit;
};
}