pixelfed-from-lock #23

Closed
roberth wants to merge 4 commits from pixelfed-from-lock into pixelfed-on-metal
Showing only changes of commit 114b1d596f - Show all commits

View file

@ -11,14 +11,17 @@
pkgs = nixpkgs.legacyPackages.${system};
in {
packages.${system} = {
pixelfed = pkgs.pixelfed.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];
});
};
nixosModules = {
## Fediversity modules
fediversity = { pkgs, ... }: {
imports = [ ./fediversity ];
services.pixelfed.package = inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.pixelfed.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];
});
services.pixelfed.package = self.packages.${pkgs.stdenv.hostPlatform.system}.pixelfed;
};
## VM-specific modules