No description
Find a file
WilliButz ae8ff44762
update: 2023.6.2 -> 2023.8.1
* patched the package-lock for /web slightly to avoid what's likely a
  bug in napalm, causing the request for wrap-ansi@7.0.0 to be answered
  with a a 500 response. This seems to be the case because a name
  override is used for this module in the lock-file. While that is also
  the case for some other modules like string-width@4.2.3, they have a
  matching module with the name used in the override at the same
  version. Only wrap-ansi's version differs here, which causes the
  issue.
2023-08-30 16:37:06 +02:00
.envrc init flake with package, module and test 2023-06-02 16:17:47 +02:00
.gitignore init flake with package, module and test 2023-06-02 16:17:47 +02:00
flake.lock update: 2023.6.2 -> 2023.8.1 2023-08-30 16:37:06 +02:00
flake.nix update: 2023.6.2 -> 2023.8.1 2023-08-30 16:37:06 +02:00
LICENSE Initial commit 2023-06-01 18:15:06 +02:00
module.nix module: authentik-ldap drop environment variables 2023-06-29 22:51:57 +02:00
poetry2nix-python-overrides.nix update: 2023.6.2 -> 2023.8.1 2023-08-30 16:37:06 +02:00
README.md README: provide basic project overview 2023-06-12 14:13:13 +02:00
test.nix refactor flake 2023-06-28 16:39:23 +02:00
TODO.md refactor flake 2023-06-28 16:39:23 +02:00

authentik-nix

A Nix flake providing a package, NixOS module and basic VM test for authentik

TOC

Important Note

Please note that this project is not directly affiliated with the official authentik project. Most importantly this means that there is no official support for this packaging and deployment approach. Therefore, please refrain from opening issues for the official project when running into problems with this flake. Feel free to open issues here. If in doubt, please open an issue here first so we can make sure that it's not directly related to this packaging/deployment approach before escalating to the official project.

Overview

  • flake.nix This flake provides packages (server, worker, outposts, ...) as outputs directly and via the overlay output, a NixOS module and a simple VM integration test for the module.
  • module.nix The NixOS module configures authentik services, redis and (by default) a local postgres instance. The upstream default authentik configuration can be partially overridden by setting desired parameters under services.authentik.settings.
  • poetry2nix-python-overrides.nix contains overrides and fixes for building the python env
  • test.nix A minimal NixOS VM test. Confirms that the services configured by the module start and manually goes through the initial setup flow. Two screenshots are taken during test execution to confirm that the frontend is rendered correctly.
  • web-package-lock.json Version 2 package-lock.json of the lockfile located upstream under web/package-lock.json. This is currently a requirement for napalm2nix (see https://github.com/nix-community/napalm/issues/55#issuecomment-1466354584 )

Usage

  • WiP

Updating

  • WiP

License

This project is released under the terms of the MIT License. See LICENSE. Consult the upstream project for information about authentik licensing.