added akkoma config
This commit is contained in:
parent
010165d1e5
commit
34b351e6b4
1 changed files with 8 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
{ lib, pkgs, config, ... }: let
|
{ lib, pkgs, config, ... }: let
|
||||||
inherit (lib) mkIf;
|
inherit (lib) mkIf;
|
||||||
inherit (config) conf;
|
inherit (config) conf;
|
||||||
|
inherit ((pkgs.formats.elixirConf { }).lib) mkMap;
|
||||||
in mkIf conf.fedi.enable {
|
in mkIf conf.fedi.enable {
|
||||||
services.akkoma = {
|
services.akkoma = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -9,10 +10,15 @@ in mkIf conf.fedi.enable {
|
||||||
":instance" = {
|
":instance" = {
|
||||||
name = "miras fedi";
|
name = "miras fedi";
|
||||||
description = "miras akkoma instance";
|
description = "miras akkoma instance";
|
||||||
email = "mira.cp.0909@gmail.com";
|
email = "fedi@chpu.eu";
|
||||||
registration_open = false;
|
registration_open = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
":mrf_simple" = {
|
||||||
|
reject = mkMap {
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
"Pleroma.Web.Endpoint" = {
|
"Pleroma.Web.Endpoint" = {
|
||||||
url.host = "fedi.twoneis.site";
|
url.host = "fedi.twoneis.site";
|
||||||
};
|
};
|
||||||
|
@ -23,6 +29,7 @@ in mkIf conf.fedi.enable {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nginx = {
|
nginx = {
|
||||||
|
serverName = "fedi.twoneis.site";
|
||||||
useACMEHost = "twoneis.site";
|
useACMEHost = "twoneis.site";
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue