diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-16 14:17:58 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-08-16 14:17:58 +0200 |
commit | cc64a316d3107c9e638b7ae6d9567d346f0ed4ae (patch) | |
tree | c535258529177a3462dfcd6a019c7382cea1f2eb /system/services/mastodon/default.nix | |
parent | fix(disks): Increase root tmpfs size to 6GB (diff) | |
download | nixos-server-mastodon.tar.gz nixos-server-mastodon.zip |
feat(system/services/mastodon): Apply patch to increase the message length mastodon
Diffstat (limited to 'system/services/mastodon/default.nix')
-rw-r--r-- | system/services/mastodon/default.nix | 5 |
1 files changed, 5 insertions, 0 deletions
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; |