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};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
in {
|
in {
|
||||||
|
|
||||||
|
packages.${system} = {
|
||||||
|
pixelfed = pkgs.pixelfed.overrideAttrs (old: {
|
||||||
|
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];
|
||||||
|
});
|
||||||
|
};
|
||||||
|
|
||||||
nixosModules = {
|
nixosModules = {
|
||||||
## Fediversity modules
|
## Fediversity modules
|
||||||
fediversity = { pkgs, ... }: {
|
fediversity = { pkgs, ... }: {
|
||||||
imports = [ ./fediversity ];
|
imports = [ ./fediversity ];
|
||||||
|
services.pixelfed.package = self.packages.${pkgs.stdenv.hostPlatform.system}.pixelfed;
|
||||||
services.pixelfed.package = inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.pixelfed.overrideAttrs (old: {
|
|
||||||
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];
|
|
||||||
});
|
|
||||||
};
|
};
|
||||||
|
|
||||||
## VM-specific modules
|
## VM-specific modules
|
||||||
|
|
Loading…
Reference in a new issue