diff --git a/hosts/cube/akkoma.nix b/hosts/cube/akkoma.nix new file mode 100644 index 0000000..7a1b75d --- /dev/null +++ b/hosts/cube/akkoma.nix @@ -0,0 +1,18 @@ +{ config, ulib, ... }: with ulib; + +systemConfiguration { + services.akkoma = { # enabled { + nginx = { + forceSSL = true; + enableACME = true; + + locations."/".proxyPass = "http://localhost:${toString cfg.port}"; + }; + + config.":pleroma"."Pleroma.Web.Endpoint" = { + http.ip = "::"; + url.host = "social.${config.networking.domain}"; + url.port = 4778; + }; + }; +}