34 lines
858 B
Nix
34 lines
858 B
Nix
|
{ pkgs, ... }:
|
||
|
|
||
|
{
|
||
|
services.akkoma = {
|
||
|
enable = true;
|
||
|
|
||
|
nginx = {
|
||
|
enableACME = true;
|
||
|
forceSSL = true;
|
||
|
};
|
||
|
|
||
|
config = {
|
||
|
":pleroma" = {
|
||
|
":instance" = {
|
||
|
name = "Dirae";
|
||
|
description = "This server uses NixOS btw";
|
||
|
email = "caem@dirae.org";
|
||
|
registration_open = false;
|
||
|
};
|
||
|
|
||
|
"Pleroma.Upload".filters = map (pkgs.formats.elixirConf { }).lib.mkRaw [
|
||
|
"Pleroma.Upload.Filter.Exiftool"
|
||
|
"Pleroma.Upload.Filter.Dedupe"
|
||
|
"Pleroma.Upload.Filter.AnonymizeFilename"
|
||
|
];
|
||
|
};
|
||
|
|
||
|
"Pleroma.Web.Endpoint" = {
|
||
|
url.host = "social.dirae.org";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|