summaryrefslogtreecommitdiff
path: root/hosts/flora
diff options
context:
space:
mode:
authorstuebinm2021-03-09 18:07:24 +0100
committerstuebinm2021-03-09 18:07:24 +0100
commit8a0ed06a7c4a2e31c6c23d1ff5052237bd0e0e6a (patch)
tree8c928619db2fa7ddbc2ba9097011bed9e0ca6ca3 /hosts/flora
parent0fd4d7cafdefe19948e5e517805d4f4636e99f48 (diff)
Add cindyscript support to hedgedoc
Diffstat (limited to '')
-rw-r--r--hosts/flora/services/hedgedoc.nix12
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";
};
};