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:
parent
046e0941d0
commit
e32519ea30
1 changed files with 18 additions and 0 deletions
18
hosts/cube/akkoma.nix
Normal file
18
hosts/cube/akkoma.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue