summary refs log tree commit diff stats
path: root/system/services
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--system/services/default.nix1
-rw-r--r--system/services/murmur/default.nix23
2 files changed, 24 insertions, 0 deletions
diff --git a/system/services/default.nix b/system/services/default.nix
index 2530f3a..db42284 100644
--- a/system/services/default.nix
+++ b/system/services/default.nix
@@ -8,6 +8,7 @@
     ./matrix
     ./minecraft
     ./miniflux
+    ./murmur
     ./nginx
     ./nix
     ./nix-sync
diff --git a/system/services/murmur/default.nix b/system/services/murmur/default.nix
new file mode 100644
index 0000000..9c04db0
--- /dev/null
+++ b/system/services/murmur/default.nix
@@ -0,0 +1,23 @@
+{config, ...}: {
+  services.murmur = {
+    enable = true;
+    openFirewall = true;
+    welcometext = ''
+      <b>You never get a second chance to make a first impression</b>
+
+      The entire team of [name of the company] is thrilled to welcome you on board. We hope you’ll do some amazing work here!
+    '';
+    sslKey = "${config.security.acme.certs.murmur.directory}/key.pem";
+    sslCert = "${config.security.acme.certs.murmur.directory}/fullchain.pem";
+
+    registerUrl = "vhack.eu";
+    registerName = "vhack";
+    registerHostname = "mumble.vhack.eu";
+    hostName = "mumble.vhack.eu";
+    clientCertRequired = true;
+  };
+
+  security.acme.certs.murmur = {
+    domain = "mumble.vhack.eu";
+  };
+}