try this
This commit is contained in:
parent
75405128b6
commit
010165d1e5
1 changed files with 25 additions and 0 deletions
|
@ -2,4 +2,29 @@
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (config) conf;
|
inherit (config) conf;
|
||||||
in mkIf conf.fedi.enable {
|
in mkIf conf.fedi.enable {
|
||||||
|
services.akkoma = {
|
||||||
|
enable = true;
|
||||||
|
config = {
|
||||||
|
":pleroma" = {
|
||||||
|
":instance" = {
|
||||||
|
name = "miras fedi";
|
||||||
|
description = "miras akkoma instance";
|
||||||
|
email = "mira.cp.0909@gmail.com";
|
||||||
|
registration_open = false;
|
||||||
|
};
|
||||||
|
|
||||||
|
"Pleroma.Web.Endpoint" = {
|
||||||
|
url.host = "fedi.twoneis.site";
|
||||||
|
};
|
||||||
|
|
||||||
|
"Pleroma.Upload" = {
|
||||||
|
base_url = "https://fedi.twoneis.site/media/";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
nginx = {
|
||||||
|
useACMEHost = "twoneis.site";
|
||||||
|
forceSSL = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue