From 4afc56690a4a6b898b75be57d4d51a7bdc662562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20van=20Br=C3=BCgge?= Date: Thu, 3 Oct 2024 15:15:50 +0100 Subject: [PATCH] authentik.outposts.proxy: init at 2024.12.1 (cherry picked from commit 813e4811fdcce384123956a505bb310dbe2854ee) --- pkgs/by-name/au/authentik/outposts.nix | 1 + pkgs/by-name/au/authentik/proxy.nix | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 pkgs/by-name/au/authentik/proxy.nix diff --git a/pkgs/by-name/au/authentik/outposts.nix b/pkgs/by-name/au/authentik/outposts.nix index f1d5181609ada..b251368a2869d 100644 --- a/pkgs/by-name/au/authentik/outposts.nix +++ b/pkgs/by-name/au/authentik/outposts.nix @@ -1,5 +1,6 @@ { callPackage }: { ldap = callPackage ./ldap.nix { }; + proxy = callPackage ./proxy.nix { }; radius = callPackage ./radius.nix { }; } diff --git a/pkgs/by-name/au/authentik/proxy.nix b/pkgs/by-name/au/authentik/proxy.nix new file mode 100644 index 0000000000000..a11adf539aa0d --- /dev/null +++ b/pkgs/by-name/au/authentik/proxy.nix @@ -0,0 +1,21 @@ +{ + buildGoModule, + authentik, +}: + +buildGoModule { + pname = "authentik-proxy-outpost"; + inherit (authentik) version src; + + vendorHash = "sha256-FyRTPs2xfostV2x03IjrxEYBSrsZwnuPn+oHyQq1Kq0="; + + env.CGO_ENABLED = 0; + + subPackages = [ "cmd/proxy" ]; + + meta = authentik.meta // { + description = "Authentik proxy outpost which is used for HTTP reverse proxy authentication"; + homepage = "https://goauthentik.io/docs/providers/proxy/"; + mainProgram = "proxy"; + }; +}