From 42fca7dc7d4783c8085467d41c9f0f0e62538159 Mon Sep 17 00:00:00 2001 From: twoneis Date: Fri, 7 Feb 2025 21:02:04 +0100 Subject: [PATCH] trying to fix fedi but leave for now --- devices/ellaca/options.nix | 2 +- modules/fedi/default.nix | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/devices/ellaca/options.nix b/devices/ellaca/options.nix index 49681cf..b04119d 100644 --- a/devices/ellaca/options.nix +++ b/devices/ellaca/options.nix @@ -3,7 +3,7 @@ ssh.enable = true; nginx.enable = true; website.enable = true; - fedi.enable = true; + fedi.enable = false; # Currently broken stateVersion = "25.05"; hmStateVersion = "25.05"; diff --git a/modules/fedi/default.nix b/modules/fedi/default.nix index 51a39df..209bb26 100644 --- a/modules/fedi/default.nix +++ b/modules/fedi/default.nix @@ -2,8 +2,14 @@ inherit (lib) mkIf; inherit (config) conf; in mkIf conf.fedi.enable { + services.postgresql.enable = true; services.akkoma = { enable = true; + initDb = { + enable = false; + password._secret = "/root/db_password"; + username = "root"; + }; config = { ":pleroma" = { ":instance" = {