From 9e30ed04224144829d946335f3d43353aff24bc9 Mon Sep 17 00:00:00 2001 From: Max Audron Date: Fri, 13 Oct 2023 17:36:53 +0200 Subject: deploy authentik --- modules/authentik/authentik-web.nix | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 modules/authentik/authentik-web.nix (limited to 'modules/authentik/authentik-web.nix') diff --git a/modules/authentik/authentik-web.nix b/modules/authentik/authentik-web.nix deleted file mode 100644 index 3fbf416..0000000 --- a/modules/authentik/authentik-web.nix +++ /dev/null @@ -1,27 +0,0 @@ -{ lib, stdenv, buildNpmPackage, fetchFromGitHub, python3, ... }: - -buildNpmPackage rec { - pname = "authentik-web"; - version = "2023.8.3"; - - src = fetchFromGitHub { - owner = "goauthentik"; - repo = "authentik"; - rev = "version/${version}"; - hash = "sha256-dpGvxhA5NWO8LKrGXzalV9EVn/nUIj6sMy2HdY5tjlM="; - }; - - sourceRoot = "source/web"; - - npmDepsHash = "sha256-kCKtrsUA7VLHzf9SR/UW1z3RCpQc5r5sa/f4dxonTZ0="; - npmPackFlags = [ "--ignore-scripts" ]; - npmBuildScript = "build"; - - nativeBuildInputs = [ python3 ]; - - installPhase = '' - mkdir $out - cp -r dist/ $out/ - cp -r authentik/ $out/ - ''; -} -- cgit v1.2.3