mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 12:15:34 +03:00
nixos/opencloud: slightly better documentation
This commit is contained in:
parent
c5c920bfae
commit
448ae8f0bc
1 changed files with 14 additions and 0 deletions
|
@ -80,6 +80,18 @@ in
|
|||
The possible config options are currently not well documented, see source code:
|
||||
https://github.com/opencloud-eu/opencloud/blob/main/pkg/config/config.go
|
||||
'';
|
||||
|
||||
example = {
|
||||
proxy = {
|
||||
auto_provision_accounts = true;
|
||||
oidc.rewrite_well_known = true;
|
||||
role_assignment = {
|
||||
driver = "oidc";
|
||||
oidc_role_mapper.role_claim = "opencloud_roles";
|
||||
};
|
||||
};
|
||||
web.web.config.oidc.scope = "openid profile email opencloud_roles";
|
||||
};
|
||||
};
|
||||
|
||||
environmentFile = lib.mkOption {
|
||||
|
@ -105,6 +117,8 @@ in
|
|||
|
||||
Use this to set configuration that may affect multiple microservices.
|
||||
|
||||
Set `OC_INSECURE = "false"` if you want OpenCloud to terminate TLS.
|
||||
|
||||
Configuration provided here will override `settings`.
|
||||
'';
|
||||
example = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue