From 8a0ed06a7c4a2e31c6c23d1ff5052237bd0e0e6a Mon Sep 17 00:00:00 2001 From: stuebinm Date: Tue, 9 Mar 2021 18:07:24 +0100 Subject: Add cindyscript support to hedgedoc --- hosts/flora/services/hedgedoc.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/hosts/flora/services/hedgedoc.nix b/hosts/flora/services/hedgedoc.nix index c7b5379..ba1a992 100644 --- a/hosts/flora/services/hedgedoc.nix +++ b/hosts/flora/services/hedgedoc.nix @@ -1,5 +1,13 @@ { config, lib, pkgs, ... }: - +let + hedgedoc-patched = pkgs.hedgedoc.overrideAttrs (old: { + src = pkgs.fetchgit { + url = "https://stuebinm.eu/git/hedgedoc"; + rev = "3c13b7ab61f02775f2af0527909406e1c403fc4d"; + sha256 = "0gkddiqxa0pxngj7fnwhcp9i0d3m9qggywf100sb6fkmwxyjhmxa"; + }; + }); +in { # Container containing CodiMD and its database # has its own internal network; needs a reverse-proxy to be reachable from the outside @@ -49,6 +57,8 @@ #email = false; }; }; + + systemd.services.hedgedoc.serviceConfig.ExecStart = pkgs.lib.mkForce "${hedgedoc-patched}/bin/hedgedoc"; }; }; -- cgit v1.2.3