diff options
author | sefidel <contact@sefidel.net> | 2023-08-02 00:58:47 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-02 00:59:04 +0900 |
commit | 502882e92479e998387cd5ca05f326e161059b6a (patch) | |
tree | 2e39b5bd6da2378d8f9f84fb07314983f6f12133 /modules/services/akkoma/default.nix | |
parent | 65e20c47e3f1662b4eaa6331436a4b222bed79f2 (diff) | |
download | infra-502882e92479e998387cd5ca05f326e161059b6a.tar.gz infra-502882e92479e998387cd5ca05f326e161059b6a.zip |
chore: reformat
Diffstat (limited to 'modules/services/akkoma/default.nix')
-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" + ]; + }; +} |