aboutsummaryrefslogtreecommitdiff
path: root/modules/authentik/authentik-outpost-ldap.nix
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2023-10-13 12:55:30 +0200
committerMax Audron <audron@cocaine.farm>2023-10-13 13:22:06 +0200
commit01fe8dff8cc5577a29a28e8e0d4038b76d7bfc75 (patch)
treef09490facc339f5fdccbe76f734182ac277a89f4 /modules/authentik/authentik-outpost-ldap.nix
parentupdate nixinate to use nixos module (diff)
package authentik for nixos
Diffstat (limited to 'modules/authentik/authentik-outpost-ldap.nix')
-rw-r--r--modules/authentik/authentik-outpost-ldap.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/authentik/authentik-outpost-ldap.nix b/modules/authentik/authentik-outpost-ldap.nix
new file mode 100644
index 0000000..e2031cc
--- /dev/null
+++ b/modules/authentik/authentik-outpost-ldap.nix
@@ -0,0 +1,17 @@
+{ lib, stdenv, buildGoModule, fetchFromGitHub, ... }:
+
+buildGoModule rec {
+ pname = "authentik-outpost-ldap";
+ version = "2023.8.3";
+
+ src = fetchFromGitHub {
+ owner = "goauthentik";
+ repo = "authentik";
+ rev = "version/${version}";
+ hash = "sha256-dpGvxhA5NWO8LKrGXzalV9EVn/nUIj6sMy2HdY5tjlM=";
+ };
+
+ vendorHash = "sha256-F3JzzL6Gg9H4qdmp4MbQFupccATYIUIFL05is6xzoZY=";
+
+ subPackages = [ "cmd/ldap" ];
+}