From 22ef83d56b64c2894eaecbc8c51ea0ba51278ffb Mon Sep 17 00:00:00 2001 From: Jan van Brügge Date: Fri, 24 May 2024 22:30:08 +0100 Subject: authentik-outposts.radius: init at 2024.6.0 --- pkgs/by-name/au/authentik/outposts.nix | 1 + pkgs/by-name/au/authentik/radius.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/by-name/au/authentik/radius.nix (limited to 'pkgs/by-name/au') diff --git a/pkgs/by-name/au/authentik/outposts.nix b/pkgs/by-name/au/authentik/outposts.nix index 6f9ade9cc54b..c10ace799611 100644 --- a/pkgs/by-name/au/authentik/outposts.nix +++ b/pkgs/by-name/au/authentik/outposts.nix @@ -1,3 +1,4 @@ { callPackage }: { ldap = callPackage ./ldap.nix { }; + radius = callPackage ./radius.nix { }; } diff --git a/pkgs/by-name/au/authentik/radius.nix b/pkgs/by-name/au/authentik/radius.nix new file mode 100644 index 000000000000..957fd3702b77 --- /dev/null +++ b/pkgs/by-name/au/authentik/radius.nix @@ -0,0 +1,18 @@ +{ lib, buildGoModule, authentik }: + +buildGoModule { + pname = "authentik-radius-outpost"; + inherit (authentik) version src; + + vendorHash = "sha256-hxtyXyCfVemsjYQeo//gd68x4QO/4Vcww8i2ocsUVW8="; + + CGO_ENABLED = 0; + + subPackages = [ "cmd/radius" ]; + + meta = authentik.meta // { + description = "Authentik radius outpost which is used for the external radius API"; + homepage = "https://goauthentik.io/docs/providers/radius/"; + mainProgram = "radius"; + }; +} -- cgit 1.4.1