diff --git a/flake.lock b/flake.lock index c19674c..06a8d1d 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1701952659, - "narHash": "sha256-TJv2srXt6fYPUjxgLAL0cy4nuf1OZD4KuA1TrCiQqg0=", + "lastModified": 1706718339, + "narHash": "sha256-S+S97c/HzkO2A/YsU7ZmNF9w2s7Xk6P8dzmfDdckzLs=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "b4372c4924d9182034066c823df76d6eaf1f4ec4", + "rev": "53fbe41cf76b6a685004194e38e889bc8857e8c2", "type": "github" }, "original": { diff --git a/nixos/programs/mastodon.nix b/nixos/programs/mastodon.nix index b770107..b93d7d7 100644 --- a/nixos/programs/mastodon.nix +++ b/nixos/programs/mastodon.nix @@ -1,5 +1,20 @@ { config, ... }: { + nixpkgs.overlays = [ + (final: prev: + rec { + mastodon = prev.mastodon.override { + version = "4.2.5"; + patches = [ + (final.fetchpatch { + url = "https://github.com/mastodon/mastodon/compare/v4.2.4...v4.2.5.patch"; + hash = "sha256-CtzYV1i34s33lV/1jeNcr9p/x4Es1zRaf4l1sNWVKYk="; + }) + ]; + }; + }) + ]; + services.mastodon = { enable = true;