pixelfed-from-lock #23
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
|
||||
|
|
Reference in a new issue