summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
Diffstat (limited to 'services')
-rw-r--r--services/documents.nix18
1 files changed, 18 insertions, 0 deletions
diff --git a/services/documents.nix b/services/documents.nix
new file mode 100644
index 0000000..b438e9e
--- /dev/null
+++ b/services/documents.nix
@@ -0,0 +1,18 @@
+{ config, pkgs, lib, ... }:
+
+{
+  services.collabora-online = {
+    enable = true;
+
+    # This is the default, set explicitly here to make it easier to find.
+    port = 9980;
+
+    settings = {
+      # The service is behind our reverse proxy, so we need to tell it so.
+      ssl = {
+        enable = false;
+        termination = true;
+      };
+    };
+  };
+}