1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-30 11:37:44 +00:00

Start writing akkoma config

This commit is contained in:
RGBCube 2024-01-10 18:33:38 +03:00
parent 046e0941d0
commit e32519ea30
No known key found for this signature in database

18
hosts/cube/akkoma.nix Normal file
View file

@ -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;
};
};
}