Unverified Commit a656825f authored by K900's avatar K900 Committed by GitHub
Browse files

nixos/opencloud: slightly better documentation (#409515)

parents e314d5c6 0adbcf3f
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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 = {
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
  meta = {
    description = "OpenCloud - IDP Web UI";
    homepage = "https://github.com/opencloud-eu/opencloud";
    changelog = "https://github.com/opencloud-eu/opencloud/blob/v${finalAttrs.src.tag}/CHANGELOG.md";
    changelog = "https://github.com/opencloud-eu/opencloud/blob/${finalAttrs.src.tag}/CHANGELOG.md";
    license = lib.licenses.asl20;
    maintainers = with lib.maintainers; [
      christoph-heiss