about summary refs log tree commit diff
path: root/pkgs/by-name/au
diff options
context:
space:
mode:
authorJan van Brügge2024-05-24 22:30:08 +0100
committerJan van Brügge2024-07-06 12:51:32 +0100
commit22ef83d56b64c2894eaecbc8c51ea0ba51278ffb (patch)
treeea04bc7d260c63da1a270003619c2871d31461f8 /pkgs/by-name/au
parentc719eead605a88cbb9431df1c6a19db25c739c35 (diff)
authentik-outposts.radius: init at 2024.6.0
Diffstat (limited to 'pkgs/by-name/au')
-rw-r--r--pkgs/by-name/au/authentik/outposts.nix1
-rw-r--r--pkgs/by-name/au/authentik/radius.nix18
2 files changed, 19 insertions, 0 deletions
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";
+  };
+}