diff options
Diffstat (limited to 'modules/services/akkoma')
-rw-r--r-- | modules/services/akkoma/default.nix | 24 |
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" + ]; + }; +} |