From 7c88d47fb8e6c167f4deacdd3cd48c227640bd53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=E2=80=9CNiols=E2=80=9D=20Jeannerod?= Date: Wed, 27 Nov 2024 12:33:49 +0100 Subject: [PATCH] Notes and cleanup --- services/fediversity/mastodon.nix | 3 --- services/tests/mastodon-garage.nix | 7 +++++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/services/fediversity/mastodon.nix b/services/fediversity/mastodon.nix index f93fd2b..2ed4b3e 100644 --- a/services/fediversity/mastodon.nix +++ b/services/fediversity/mastodon.nix @@ -76,9 +76,6 @@ lib.mkIf (config.fediversity.enable && config.fediversity.mastodon.enable) { fromAddress = "noreply@${config.fediversity.internal.mastodon.domain}"; createLocally = false; }; - - # TODO: this is hardware-dependent. let's figure it out when we have hardware - # streamingProcesses = 1; }; security.acme = { diff --git a/services/tests/mastodon-garage.nix b/services/tests/mastodon-garage.nix index 8a2b34c..7bd36e1 100644 --- a/services/tests/mastodon-garage.nix +++ b/services/tests/mastodon-garage.nix @@ -1,4 +1,10 @@ +## This file is a basic test of Mastodon functionalities. +## +## NOTE: This test will fail for Mastodon < 4.3 because of +## https://github.com/mastodon/mastodon/issues/31145 + { pkgs, self }: + let lib = pkgs.lib; @@ -35,6 +41,7 @@ let driver.close() ''; in + pkgs.nixosTest { name = "test-mastodon-garage";