From 62b64e077d3ebe57145390fc5fe91e44bda251bb Mon Sep 17 00:00:00 2001 From: notohh <github@notohh.dev> Date: Wed, 26 Mar 2025 19:50:32 -0400 Subject: [PATCH] sakura: readd hedgedoc --- hosts/sakura/services/default.nix | 1 + hosts/sakura/services/hedgedoc.nix | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 hosts/sakura/services/hedgedoc.nix diff --git a/hosts/sakura/services/default.nix b/hosts/sakura/services/default.nix index 8fff035..693a2dc 100644 --- a/hosts/sakura/services/default.nix +++ b/hosts/sakura/services/default.nix @@ -11,5 +11,6 @@ ./ganymede.nix ./immich-proxy.nix ./matrix.nix + ./hedgedoc.nix ]; } diff --git a/hosts/sakura/services/hedgedoc.nix b/hosts/sakura/services/hedgedoc.nix new file mode 100644 index 0000000..66f03ba --- /dev/null +++ b/hosts/sakura/services/hedgedoc.nix @@ -0,0 +1,15 @@ +_: { + services.hedgedoc = { + enable = true; + settings = { + port = 3300; + domain = "scratch.flake.sh"; + host = "100.121.201.47"; + allowOrigin = ["scratch.flake.sh"]; + allowAnonymous = true; + allowFreeURL = true; + allowEmailRegister = false; + dbURL = "postgres://hedgedoc:hedgedoc@192.168.1.211:5432/hedgedoc"; + }; + }; +}