summary refs log tree commit diff
path: root/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix
diff options
context:
space:
mode:
Diffstat (limited to 'host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix')
-rwxr-xr-xhost/Rory-nginx/services/nginx/thearcanebrony.net/root.nix50
1 files changed, 25 insertions, 25 deletions
diff --git a/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix b/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix
index bd23f10..86dddac 100755
--- a/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix
+++ b/host/Rory-nginx/services/nginx/thearcanebrony.net/root.nix
@@ -2,8 +2,7 @@
   enableACME = true;
   addSSL = true;
   root = "/data/nginx/html_thearcanebrony";
-  extraConfig = ''
-    autoindex on;'';
+  extraConfig = ''autoindex on;'';
   locations = {
     "/" = {
       #index = "index.html";
@@ -12,29 +11,30 @@
       return = "301 https://gitlab.com/KinoshitaProductions/SecureDestroyer/-/raw/master/run";
     };
     "= /.well-known/matrix/support".extraConfig = ''
-    more_set_headers 'Content-Type application/json';
-    more_set_headers 'Access-Control-Allow-Origin *';
-    return 200 '${builtins.toJSON {
-      admins = [
-        {
-          matrix_id = "@emma:rory.gay";
-          role = "admin";
+      more_set_headers 'Content-Type application/json';
+      more_set_headers 'Access-Control-Allow-Origin *';
+      return 200 '${
+        builtins.toJSON {
+          admins = [
+            {
+              matrix_id = "@emma:rory.gay";
+              role = "admin";
+            }
+            {
+              matrix_id = "@alicia:rory.gay";
+              role = "admin";
+            }
+            {
+              matrix_id = "@root:rory.gay";
+              role = "admin";
+            }
+            {
+              matrix_id = "@rory:rory.gay";
+              role = "admin";
+            }
+          ];
         }
-	      {
-          matrix_id = "@alicia:rory.gay";
-          role = "admin";
-        }
-	      {
-          matrix_id = "@root:rory.gay";
-          role = "admin";
-        }
-      	{
-          matrix_id = "@rory:rory.gay";
-          role = "admin";
-        }
-      ];
-    }
-    }';
-  ''; 
+      }';
+    '';
   };
 }