From cc64a316d3107c9e638b7ae6d9567d346f0ed4ae Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 16 Aug 2024 14:17:58 +0200 Subject: feat(system/services/mastodon): Apply patch to increase the message length --- system/services/mastodon/default.nix | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'system/services/mastodon/default.nix') diff --git a/system/services/mastodon/default.nix b/system/services/mastodon/default.nix index efc7335..8e2c174 100644 --- a/system/services/mastodon/default.nix +++ b/system/services/mastodon/default.nix @@ -1,5 +1,6 @@ { config, + pkgs, ... }: let emailAddress = "mastodon@vhack.eu"; @@ -7,6 +8,10 @@ in { services.mastodon = { enable = true; + package = pkgs.mastodon.overrideAttrs (attrs: { + patches = (attrs.patches or []) ++ [./patches/mastodon_v4.2.1-maxchar-5000.patch]; + }); + # Unstable Mastodon package, used if #security updates aren't backported. #package = pkgs-unstable.mastodon; -- cgit 1.4.1