Add packages.${system}.pixelfed
This commit is contained in:
parent
1fc83f6980
commit
114b1d596f
11
flake.nix
11
flake.nix
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue