forest/roles/kanidm.nix

24 lines
558 B
Nix
Raw Permalink Normal View History

2023-10-02 17:47:47 +00:00
{ config, pkgs, ... }: {
services.kanidm = {
# enableServer = true;
# serverSettings = {
# bindaddress = "[::]:8443";
# ldapbindaddress = "[::]:3636";
# # We are behind a reverse proxy
# trust_x_forward_for = true;
# tls_chain = "";
# tls_key = "";
# log_level = "default";
# domain = "sso.ashhhleyyy.dev";
# origin = "https://sso.ashhhleyyy.dev";
# role = "WriteReplica";
# };
enableClient = true;
clientSettings = {
uri = "https://sso.ashhhleyyy.dev";
};
};
}