Skip to content

feat: add authentik service - #703

Open
gabyx wants to merge 3 commits into
juspay:mainfrom
gabyx:feat/authentik-service
Open

feat: add authentik service#703
gabyx wants to merge 3 commits into
juspay:mainfrom
gabyx:feat/authentik-service

Conversation

@gabyx

@gabyx gabyx commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

I tried to configure an authentik service with process-compose based on the packages in https://github.com/nix-community/authentik-nix. I was quite successful I think.

  • Documentation
  • Tests health point + blueprint export)
  • Export the blueprints (db dumb etc) with blueprints.export.enable = true and triggering the process.
  • The modules does not pull in the authentic-nix flake but requests it on components option.
  • authentik service needs a sidecar services postgres.
    These are easily available configured already under services.postgres. See the documentation and the tests.
    Note: This implementation actually posed the question how an authentik module can configure another service as a sidecar. Currently how the modules are loaded we have no access to the overall toplevel options. @shivaraj-bh (maybe there is a better option here). Thats why I went with this solution.

Note: The tests need authentik-nix input and a small overlay such that pkgs.authenticComponents (overrideScope) is available.

WARNING: Should be merged when upstream nix-community/authentik-nix#156 is merged.

Assited-by: Claude Opus 4.8 only for debugging and design decisions on this module. (Documentation is not super great in authentik)

@gabyx
gabyx force-pushed the feat/authentik-service branch 3 times, most recently from 20ad62d to d4b6475 Compare July 16, 2026 17:09
@gabyx gabyx changed the title feat: add authentik service feat: add authentik service Jul 16, 2026
@gabyx
gabyx marked this pull request as draft July 17, 2026 16:27
@gabyx
gabyx marked this pull request as ready for review July 19, 2026 18:27
@gabyx
gabyx force-pushed the feat/authentik-service branch from b410737 to 5b3ead5 Compare August 25, 2026 15:55
@gabyx

gabyx commented Aug 25, 2026

Copy link
Copy Markdown
Contributor Author

@srid: Would be cool if somebody could review this =). Its already used and works well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant