commit
a19d805696
@ -6,10 +6,10 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
# See here for a reference of all the options:
|
# See here for a reference of all the options:
|
||||||
# https://github.com/outline/outline/blob/v0.65.2/.env.sample
|
# https://github.com/outline/outline/blob/v0.67.0/.env.sample
|
||||||
# https://github.com/outline/outline/blob/v0.65.2/app.json
|
# https://github.com/outline/outline/blob/v0.67.0/app.json
|
||||||
# https://github.com/outline/outline/blob/v0.65.2/server/env.ts
|
# https://github.com/outline/outline/blob/v0.67.0/server/env.ts
|
||||||
# https://github.com/outline/outline/blob/v0.65.2/shared/types.ts
|
# https://github.com/outline/outline/blob/v0.67.0/shared/types.ts
|
||||||
# The order is kept the same here to make updating easier.
|
# The order is kept the same here to make updating easier.
|
||||||
options.services.outline = {
|
options.services.outline = {
|
||||||
enable = lib.mkEnableOption (lib.mdDoc "outline");
|
enable = lib.mkEnableOption (lib.mdDoc "outline");
|
||||||
@ -123,7 +123,7 @@ in
|
|||||||
description = lib.mdDoc ''
|
description = lib.mdDoc ''
|
||||||
To support uploading of images for avatars and document attachments an
|
To support uploading of images for avatars and document attachments an
|
||||||
s3-compatible storage must be provided. AWS S3 is recommended for
|
s3-compatible storage must be provided. AWS S3 is recommended for
|
||||||
redundency however if you want to keep all file storage local an
|
redundancy however if you want to keep all file storage local an
|
||||||
alternative such as [minio](https://github.com/minio/minio)
|
alternative such as [minio](https://github.com/minio/minio)
|
||||||
can be used.
|
can be used.
|
||||||
|
|
||||||
@ -435,6 +435,16 @@ in
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
sentryTunnel = lib.mkOption {
|
||||||
|
type = lib.types.nullOr lib.types.str;
|
||||||
|
default = null;
|
||||||
|
description = lib.mdDoc ''
|
||||||
|
Optionally add a
|
||||||
|
[Sentry proxy tunnel](https://docs.sentry.io/platforms/javascript/troubleshooting/#using-the-tunnel-option)
|
||||||
|
for bypassing ad blockers in the UI.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
logo = lib.mkOption {
|
logo = lib.mkOption {
|
||||||
type = lib.types.nullOr lib.types.str;
|
type = lib.types.nullOr lib.types.str;
|
||||||
default = null;
|
default = null;
|
||||||
@ -621,6 +631,7 @@ in
|
|||||||
DEBUG = cfg.debugOutput;
|
DEBUG = cfg.debugOutput;
|
||||||
GOOGLE_ANALYTICS_ID = lib.optionalString (cfg.googleAnalyticsId != null) cfg.googleAnalyticsId;
|
GOOGLE_ANALYTICS_ID = lib.optionalString (cfg.googleAnalyticsId != null) cfg.googleAnalyticsId;
|
||||||
SENTRY_DSN = lib.optionalString (cfg.sentryDsn != null) cfg.sentryDsn;
|
SENTRY_DSN = lib.optionalString (cfg.sentryDsn != null) cfg.sentryDsn;
|
||||||
|
SENTRY_TUNNEL = lib.optionalString (cfg.sentryTunnel != null) cfg.sentryTunnel;
|
||||||
TEAM_LOGO = lib.optionalString (cfg.logo != null) cfg.logo;
|
TEAM_LOGO = lib.optionalString (cfg.logo != null) cfg.logo;
|
||||||
DEFAULT_LANGUAGE = cfg.defaultLanguage;
|
DEFAULT_LANGUAGE = cfg.defaultLanguage;
|
||||||
|
|
||||||
|
@ -9,13 +9,13 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "outline";
|
pname = "outline";
|
||||||
version = "0.66.3";
|
version = "0.67.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "outline";
|
owner = "outline";
|
||||||
repo = "outline";
|
repo = "outline";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-2o5rRVOd+dvJOzQFGuuA0PZmmK/wnItcNu8WX9WShQ8=";
|
sha256 = "l7EJkmH/ctP8P937bV5gUqmeKeuH2mjby7Mj/USaCcA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
nativeBuildInputs = [ makeWrapper yarn2nix-moretea.fixup_yarn_lock ];
|
||||||
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user