1
Fork 0

Add Akkoma service

This commit is contained in:
caem 2023-09-20 15:15:08 +02:00
parent 774066cf0c
commit b5020e7944
No known key found for this signature in database
GPG key ID: 6CB1202CC7B58265
2 changed files with 34 additions and 1 deletions

View file

@ -0,0 +1,33 @@
{ 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";
};
};
};
}

View file

@ -10,9 +10,9 @@
../packages/sshd/package.nix
../packages/mailserver/package.nix
../packages/nginx/dirae.nix
# ../packages/gitlab/package.nix
../packages/forgejo/dirae.nix
../packages/synapse/package.nix
../packages/akkoma/package.nix
];
boot = {