feat: add authentik service - #703
Open
gabyx wants to merge 16 commits into
Open
Conversation
gabyx
force-pushed
the
feat/authentik-service
branch
2 times, most recently
from
July 16, 2026 17:05
0406e6b to
20ad62d
Compare
gabyx
force-pushed
the
feat/authentik-service
branch
from
July 16, 2026 17:09
20ad62d to
d4b6475
Compare
gabyx
marked this pull request as draft
July 17, 2026 16:27
gabyx
marked this pull request as ready for review
July 19, 2026 18:27
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I tried to configure an
authentikservice with process-compose based on the packages in https://github.com/nix-community/authentik-nix. I was quite successful I think.blueprints.export.enable = trueand triggering the process.authentic-nixflake but requests it oncomponentsoption.authentikservice needs a sidecar servicespostgres.These are easily available configured already under
services.postgres. See the documentation and the tests.Note: This implementation actually posed the question how an
authentikmodule 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-nixinput and a small overlay such thatpkgs.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)