about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/profpatsch/legosi.nix25
1 files changed, 14 insertions, 11 deletions
diff --git a/machines/profpatsch/legosi.nix b/machines/profpatsch/legosi.nix
index 6460c4ba..eb1dc321 100644
--- a/machines/profpatsch/legosi.nix
+++ b/machines/profpatsch/legosi.nix
@@ -63,17 +63,20 @@ in {
        enable = true;
     };
 
-    # services.nginx = {
-    #   enable = true;
-    #   virtualHosts.${"profpatsch.de"} = {
-    #     forceSSL = true;
-    #     enableACME = true;
-    #     locations."/" = {
-    #       index = "index.html";
-    #     };
-    #     serverAliases = [ "lojbanistan.de" ];
-    #   };
-    # };
+    security.acme.acceptTerms = true;
+    security.acme.email = "mail@profpatsch.de";
+
+    services.nginx = {
+      enable = true;
+      virtualHosts.${"profpatsch.de"} = {
+        forceSSL = true;
+        enableACME = true;
+        locations."/" = {
+          index = "index.html";
+          root = pkgs.vuizvui.profpatsch.websiteStatic;
+        };
+      };
+    };
 
   };
 }