From 0b03b19b10466d079e5e1f6313973fdb60dbe8f5 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Wed, 26 May 2021 21:13:48 +0200 Subject: Add gemini server --- machines/srv1/configuration.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'machines') 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 = { -- cgit 1.4.1