diff options
| author | Grigory Shipunov | 2025-01-14 21:24:05 +0000 |
|---|---|---|
| committer | Grigory Shipunov | 2025-01-19 19:21:43 +0000 |
| commit | 5c3f0886e592ff2d3e3a8588ab496f36c19e0ce9 (patch) | |
| tree | 53593dfbed713fe889cd533c1bd38506c1a09bfa /microvms/auth/keycloak.nix | |
| parent | 2f2318aaaa6745cdf3a58142b988b2550bf6b952 (diff) | |
yeet authentik, add keycloak and radicale
Diffstat (limited to 'microvms/auth/keycloak.nix')
| -rw-r--r-- | microvms/auth/keycloak.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/microvms/auth/keycloak.nix b/microvms/auth/keycloak.nix new file mode 100644 index 0000000..de537ef --- /dev/null +++ b/microvms/auth/keycloak.nix @@ -0,0 +1,18 @@ +{ config, ... }: +{ + services.keycloak = { + enable = true; + database = { + type = "postgresql"; + createLocally = true; + passwordFile = config.sops.secrets."keycloak/db_pass".path; + }; + settings = { + hostname = "https://auth.oxapentane.com"; + http-port = 38080; + http-enabled = true; + proxy-headers = "xforwarded"; + proxy-trusted-addresses = "10.89.88.0/24,fd31:185d:722f::/48"; + }; + }; +} |
