From 1f4b4d62e0fe041a4cf3529020d602106043e0df Mon Sep 17 00:00:00 2001 From: Taeer Bar-Yam Date: Wed, 25 Sep 2024 11:25:21 -0400 Subject: [PATCH] fix the overlay --- flake.nix | 4 ++-- tests/pixelfed-garage.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 2a8a17b3..08d1cdcc 100644 --- a/flake.nix +++ b/flake.nix @@ -16,9 +16,9 @@ pkgs = nixpkgs.legacyPackages.${system}; pkgsLatest = nixpkgs-latest.legacyPackages.${system}; bleedingFediverseOverlay = (self: super: { - services.pixelfed.package = pkgsLatest.pixelfed.overrideAttrs (old: { + pixelfed = pkgsLatest.pixelfed.overrideAttrs (old: { src = pixelfed; - patches = (old.patches or [ ]) ++ [ ./pixelfed-group-permissions.patch ]; + patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ]; }); ## TODO: give mastodon, peertube the same treatment }); diff --git a/tests/pixelfed-garage.nix b/tests/pixelfed-garage.nix index 4137ede9..43a26d52 100644 --- a/tests/pixelfed-garage.nix +++ b/tests/pixelfed-garage.nix @@ -136,7 +136,7 @@ pkgs.nixosTest { memorySize = lib.mkVMOverride 8192; cores = 8; }; - imports = with self.nixosModules; [ garage-vm pixelfed-vm ]; + imports = with self.nixosModules; [ bleedingFediverse garage-vm pixelfed-vm ]; # TODO: pair down environment.systemPackages = with pkgs; [ python3