NixOS-Config/nixos/queen/akkoma.nix

50 lines
1.1 KiB
Nix
Raw Normal View History

{
2023-11-25 13:32:32 +01:00
inputs,
outputs,
lib,
config,
pkgs,
...
}: {
users.groups.akkoma = {};
users.users = {
akkoma = {
isSystemUser = true;
group = "akkoma";
};
};
services.akkoma = {
enable = true;
package = pkgs.akkoma;
extraPackages = with pkgs; [ffmpeg exiftool imagemagick];
nginx = {
enableACME = true;
forceSSL = true;
serverName = "akkoma.gladtherescake.eu";
};
2023-11-26 18:00:15 +01:00
#dist.cookie._secret = config.sops.secrets."releaseCookie".path;
2023-11-25 16:44:55 +01:00
2023-11-25 13:53:13 +01:00
config = {
":pleroma".":instance" = {
name = "GLaDTheresCake Akkoma";
email = "akkoma@gladtherescake.eu";
notify_email = "no-reply@akkoma.gladtherescake.eu";
2023-11-25 14:49:56 +01:00
emails.mailer = {
enabled = true;
adapter = "Swoosh.Adapters.Sendmail";
cmd_path = "/run/wrappers/bin/sendmail";
cmd_args = "-N delay,failure,success";
qmail = true;
};
2023-11-25 13:55:44 +01:00
description = "Lillian's Akkoma server!";
2023-11-25 13:53:13 +01:00
languages = ["en" "nl"];
2023-11-25 15:01:28 +01:00
registrations_open = true;
2023-11-25 13:53:13 +01:00
max_pinned_statuses = 10;
cleanup_attachments = true;
};
};
};
}