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";
+    };
+  };
+}