1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00

feat: add kanidm patch to allow provisioning, fix grafana hash from upstream

This commit is contained in:
oddlama 2023-08-27 15:49:29 +02:00
parent e5d8c1f74a
commit 0389e98dd9
No known key found for this signature in database
GPG key ID: 14EFE510775FE39A
2 changed files with 26 additions and 1 deletions

View file

@ -10,6 +10,7 @@
flip
mapAttrs
mdDoc
mkDefault
mkEnableOption
mkIf
mkOption
@ -103,7 +104,9 @@ in {
# reuses refresh tokens but kanidm forbids that. Not sure though.
#cookie.refresh = "5m";
cookie.expire = "30m";
cookie.secret = mkDefault null;
clientSecret = mkDefault null;
reverseProxy = true;
httpAddress = "unix:///run/oauth2_proxy/oauth2_proxy.sock";
redirectURL = "https://${cfg.portalDomain}/oauth2/callback";