diff options
Diffstat (limited to '')
-rw-r--r-- | hosts/flora/services/hedgedoc.nix | 12 |
1 files changed, 11 insertions, 1 deletions
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"; }; }; |