about summary refs log tree commit diff
path: root/machines/srv1
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-26 21:13:48 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2021-05-26 21:13:48 +0200
commit0b03b19b10466d079e5e1f6313973fdb60dbe8f5 (patch)
tree8ea19d65c4dc45e0103047850ba429b28c30b25a /machines/srv1
parent6247465a1262f447494342bcf0b39f22b5d0d340 (diff)
downloaddots-0b03b19b10466d079e5e1f6313973fdb60dbe8f5.tar.gz
dots-0b03b19b10466d079e5e1f6313973fdb60dbe8f5.zip
Add gemini server
Diffstat (limited to 'machines/srv1')
-rw-r--r--machines/srv1/configuration.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/machines/srv1/configuration.nix b/machines/srv1/configuration.nix
index 49fc53c..8d167c5 100644
--- a/machines/srv1/configuration.nix
+++ b/machines/srv1/configuration.nix
@@ -217,12 +217,15 @@ in
   security.acme.email = "pniedzwiedzinski19@gmail.com";
   security.acme.acceptTerms = true;
 
-  networking.firewall.allowedTCPPorts = [ 53 80 443 ];
+  networking.firewall.allowedTCPPorts = [ 53 80 443 config.services.molly-brown.settings.Port ];
   networking.firewall.allowedUDPPorts = [ 53 ];
 
   services.molly-brown = {
-    #hostName = "srv1.niedzwiedzinski.cyou";
-    #enable = true;
+    hostName = "niedzwiedzinski.cyou";
+    enable = true;
+    certPath = "/var/lib/acme/niedzwiedzinski.cyou/cert.pem";
+    keyPath = "/var/lib/acme/niedzwiedzinski.cyou/key.pem";
+    docBase = "/var/www/niedzwiedzinski.cyou";
   };
 
   systemd = {