about summary refs log tree commit diff
path: root/modules/services/akkoma/default.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2023-08-02 00:58:47 +0900
committersefidel <contact@sefidel.net>2023-08-02 00:59:04 +0900
commit502882e92479e998387cd5ca05f326e161059b6a (patch)
tree2e39b5bd6da2378d8f9f84fb07314983f6f12133 /modules/services/akkoma/default.nix
parent65e20c47e3f1662b4eaa6331436a4b222bed79f2 (diff)
downloadinfra-502882e92479e998387cd5ca05f326e161059b6a.tar.gz
infra-502882e92479e998387cd5ca05f326e161059b6a.zip
chore: reformat
Diffstat (limited to 'modules/services/akkoma/default.nix')
-rw-r--r--modules/services/akkoma/default.nix24
1 files changed, 12 insertions, 12 deletions
diff --git a/modules/services/akkoma/default.nix b/modules/services/akkoma/default.nix
index b070d73..3588140 100644
--- a/modules/services/akkoma/default.nix
+++ b/modules/services/akkoma/default.nix
@@ -85,18 +85,18 @@ in
       };
     };
 
-      services.nginx.virtualHosts.${cfg.domain} = {
-        forceSSL = true;
-        useACMEHost = cfg.domain;
+    services.nginx.virtualHosts.${cfg.domain} = {
+      forceSSL = true;
+      useACMEHost = cfg.domain;
 
-        locations."/.well-known/host-meta" = {
-          extraConfig = ''
-            return 301 https://${cfg.realHost}$request_uri;
-          '';
-        };
+      locations."/.well-known/host-meta" = {
+        extraConfig = ''
+          return 301 https://${cfg.realHost}$request_uri;
+        '';
       };
-      environment.persistence."/persist".directories = [
-        "/var/lib/akkoma"
-      ];
     };
-  }
+    environment.persistence."/persist".directories = [
+      "/var/lib/akkoma"
+    ];
+  };
+}