Add Akkoma service
This commit is contained in:
parent
774066cf0c
commit
b5020e7944
2 changed files with 34 additions and 1 deletions
33
packages/akkoma/package.nix
Normal file
33
packages/akkoma/package.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue