pixelfed: Use package from lock

This commit is contained in:
Robert Hensing 2024-09-25 09:42:08 +02:00
parent c9bd295faa
commit 1fc83f6980

View file

@ -5,7 +5,7 @@
nixpkgs.url = "github:radvendii/nixpkgs/nixos_rebuild_tests";
};
outputs = { self, nixpkgs }:
outputs = inputs@{ self, nixpkgs }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@ -13,10 +13,10 @@
nixosModules = {
## Fediversity modules
fediversity = {
fediversity = { pkgs, ... }: {
imports = [ ./fediversity ];
services.pixelfed.package = pkgs.pixelfed.overrideAttrs (old: {
services.pixelfed.package = inputs.nixpkgs.legacyPackages.${pkgs.stdenv.hostPlatform.system}.pixelfed.overrideAttrs (old: {
patches = (old.patches or [ ]) ++ [ ./fediversity/pixelfed-group-permissions.patch ];
});
};