From 61059500cd377497751d3f67906df1d908fd5ca4 Mon Sep 17 00:00:00 2001 From: Lucas Fugmann Date: Fri, 18 Nov 2022 19:08:43 +0100 Subject: [PATCH] fix hedgedoc --- flake.nix | 4 ++-- modules/hedgedoc.nix | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/flake.nix b/flake.nix index 48f499a..bd91d47 100755 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,7 @@ ./modules/sops.nix ./modules/keycloak.nix ./modules/nginx.nix - #./modules/hedgedoc.nix + ./modules/hedgedoc.nix ./modules/wiki.nix ./modules/stream.nix ./modules/nextcloud.nix @@ -77,7 +77,7 @@ ./modules/base.nix ./modules/keycloak.nix ./modules/nginx.nix - #./modules/hedgedoc.nix + ./modules/hedgedoc.nix ./modules/wiki.nix ./modules/stream.nix ./modules/vm.nix diff --git a/modules/hedgedoc.nix b/modules/hedgedoc.nix index f85d2a7..501b0d9 100644 --- a/modules/hedgedoc.nix +++ b/modules/hedgedoc.nix @@ -19,7 +19,7 @@ in hedgedoc = { enable = true; - settings = { + configuration = { port = 3002; domain = "${domain}"; protocolUseSSL = true; @@ -44,7 +44,7 @@ in enableACME = true; forceSSL = true; locations."/" = { - proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.settings.port}"; + proxyPass = "http://127.0.0.1:${toString config.services.hedgedoc.configuration.port}"; proxyWebsockets = true; }; };