nix-community / authentik-nix

Nix flake with package, NixOS module and basic VM test for authentik. Trying to provide an alternative deployment mode to the officially supported docker-compose approach. Not affiliated with or officially supported by the authentik project [maintainer=@willibutz]
MIT License
74 stars 15 forks source link

fixed nixos-24.05 compatibility #28

Closed MarcelCoding closed 4 months ago

MarcelCoding commented 4 months ago

As Node.js 21 isn't a LTS release, it is not included in NixOS 24.05.

Authentik itself builds against Node.js 20: https://docs.goauthentik.io/developer-docs/setup/frontend-dev-environment

Node.js 21 is included in NixOS unstable and 24.05.

Ma27 commented 4 months ago

See also https://github.com/nix-community/authentik-nix/issues/24

fwiw, nodejs 22 for building is perfectly fine for me. And it's not a runtime dependency, so I'd argue it's OK to just apply the commit to main. cc @WilliButz

WilliButz commented 4 months ago

Closing as duplicate of #24, see https://github.com/nix-community/authentik-nix/issues/24#issuecomment-2154637125