···6in
7{
8 # See here for a reference of all the options:
9- # https://github.com/outline/outline/blob/v0.65.2/.env.sample
10- # https://github.com/outline/outline/blob/v0.65.2/app.json
11- # https://github.com/outline/outline/blob/v0.65.2/server/env.ts
12- # https://github.com/outline/outline/blob/v0.65.2/shared/types.ts
13 # The order is kept the same here to make updating easier.
14 options.services.outline = {
15 enable = lib.mkEnableOption (lib.mdDoc "outline");
···123 description = lib.mdDoc ''
124 To support uploading of images for avatars and document attachments an
125 s3-compatible storage must be provided. AWS S3 is recommended for
126- redundency however if you want to keep all file storage local an
127 alternative such as [minio](https://github.com/minio/minio)
128 can be used.
129···435 '';
436 };
4370000000000438 logo = lib.mkOption {
439 type = lib.types.nullOr lib.types.str;
440 default = null;
···621 DEBUG = cfg.debugOutput;
622 GOOGLE_ANALYTICS_ID = lib.optionalString (cfg.googleAnalyticsId != null) cfg.googleAnalyticsId;
623 SENTRY_DSN = lib.optionalString (cfg.sentryDsn != null) cfg.sentryDsn;
0624 TEAM_LOGO = lib.optionalString (cfg.logo != null) cfg.logo;
625 DEFAULT_LANGUAGE = cfg.defaultLanguage;
626
···6in
7{
8 # See here for a reference of all the options:
9+ # https://github.com/outline/outline/blob/v0.67.0/.env.sample
10+ # https://github.com/outline/outline/blob/v0.67.0/app.json
11+ # https://github.com/outline/outline/blob/v0.67.0/server/env.ts
12+ # https://github.com/outline/outline/blob/v0.67.0/shared/types.ts
13 # The order is kept the same here to make updating easier.
14 options.services.outline = {
15 enable = lib.mkEnableOption (lib.mdDoc "outline");
···123 description = lib.mdDoc ''
124 To support uploading of images for avatars and document attachments an
125 s3-compatible storage must be provided. AWS S3 is recommended for
126+ redundancy however if you want to keep all file storage local an
127 alternative such as [minio](https://github.com/minio/minio)
128 can be used.
129···435 '';
436 };
437438+ sentryTunnel = lib.mkOption {
439+ type = lib.types.nullOr lib.types.str;
440+ default = null;
441+ description = lib.mdDoc ''
442+ Optionally add a
443+ [Sentry proxy tunnel](https://docs.sentry.io/platforms/javascript/troubleshooting/#using-the-tunnel-option)
444+ for bypassing ad blockers in the UI.
445+ '';
446+ };
447+448 logo = lib.mkOption {
449 type = lib.types.nullOr lib.types.str;
450 default = null;
···631 DEBUG = cfg.debugOutput;
632 GOOGLE_ANALYTICS_ID = lib.optionalString (cfg.googleAnalyticsId != null) cfg.googleAnalyticsId;
633 SENTRY_DSN = lib.optionalString (cfg.sentryDsn != null) cfg.sentryDsn;
634+ SENTRY_TUNNEL = lib.optionalString (cfg.sentryTunnel != null) cfg.sentryTunnel;
635 TEAM_LOGO = lib.optionalString (cfg.logo != null) cfg.logo;
636 DEFAULT_LANGUAGE = cfg.defaultLanguage;
637