Add akkoma
This commit is contained in:
parent
a4968bffc1
commit
3fa70d15e1
3 changed files with 40 additions and 6 deletions
|
|
@ -19,6 +19,7 @@
|
|||
./services/restic.nix
|
||||
./services/vaultwarden.nix
|
||||
./services/wireguard.nix
|
||||
./services/akkoma.nix
|
||||
./data/secrets/secrets.nix
|
||||
];
|
||||
|
||||
|
|
|
|||
33
config/hosts/wind/services/akkoma.nix
Normal file
33
config/hosts/wind/services/akkoma.nix
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
|
||||
services.akkoma = {
|
||||
enable = true;
|
||||
config = {
|
||||
":pleroma" = {
|
||||
":instance" = {
|
||||
name = "graven.se";
|
||||
description = "Graven Fedi";
|
||||
email = "charlie@graven.se";
|
||||
registration_open = false;
|
||||
};
|
||||
|
||||
"Pleroma.Web.Endpoint" = {
|
||||
url.host = "fedi.graven.se";
|
||||
};
|
||||
"Pleroma.Upload".filters =
|
||||
map (pkgs.formats.elixirConf { }).lib.mkRaw
|
||||
[
|
||||
"Pleroma.Upload.Filter.Exiftool"
|
||||
"Pleroma.Upload.Filter.Dedupe"
|
||||
"Pleroma.Upload.Filter.AnonymizeFilename"
|
||||
];
|
||||
};
|
||||
};
|
||||
nginx = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
serverName = "fedi.graven.se"
|
||||
}
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue