fix the overlay

This commit is contained in:
Taeer Bar-Yam 2024-09-25 11:25:21 -04:00
parent 473cc7dea0
commit 1f4b4d62e0
2 changed files with 3 additions and 3 deletions

View file

@ -16,9 +16,9 @@
pkgs = nixpkgs.legacyPackages.${system}; pkgs = nixpkgs.legacyPackages.${system};
pkgsLatest = nixpkgs-latest.legacyPackages.${system}; pkgsLatest = nixpkgs-latest.legacyPackages.${system};
bleedingFediverseOverlay = (self: super: { bleedingFediverseOverlay = (self: super: {
services.pixelfed.package = pkgsLatest.pixelfed.overrideAttrs (old: { pixelfed = pkgsLatest.pixelfed.overrideAttrs (old: {
src = pixelfed; 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 ## TODO: give mastodon, peertube the same treatment
}); });

View file

@ -136,7 +136,7 @@ pkgs.nixosTest {
memorySize = lib.mkVMOverride 8192; memorySize = lib.mkVMOverride 8192;
cores = 8; cores = 8;
}; };
imports = with self.nixosModules; [ garage-vm pixelfed-vm ]; imports = with self.nixosModules; [ bleedingFediverse garage-vm pixelfed-vm ];
# TODO: pair down # TODO: pair down
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
python3 python3