don’t make akkoma an ifd

This commit is contained in:
Charlotte 🦝 Delenk 2023-12-22 18:00:40 +01:00
parent c0d94addb1
commit d6d3b4f758
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -79,7 +79,7 @@
invites_enabled = true;
account_activation_required = true;
account_approval_required = true;
static_dir = "/etc/pleroma/static";
static_dir = "${static_dir}";
max_pinned_statuses = 10;
attachment_links = true;
max_report_comment_size = 58913;
@ -267,7 +267,7 @@ in {
services.pleroma = {
enable = true;
package = akkoma.packages.${system}.akkoma;
configs = [(builtins.readFile akkconfig)];
configs = ["import_config \"${akkconfig}\""];
user = "akkoma";
group = "akkoma";
secretConfigFile = config.sops.secrets."services/akkoma.exs".path;
@ -316,8 +316,4 @@ in {
};
services.postgresql.extraPlugins = with pkgs.postgresql_13.pkgs; [rum];
environment.etc."pleroma/static" = {
source = static_dir;
mode = "symlink";
};
}