use portunus.package to override

This commit is contained in:
Rouven Seifert 2023-07-04 17:06:18 +02:00
parent 5136effd16
commit d5e881c639
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09

View file

@ -48,6 +48,9 @@ in
services.portunus = { services.portunus = {
enable = true; enable = true;
package = pkgs.portunus.overrideAttrs (old: {
patches = [ ./0001-update-user-validation-regex.patch ];
});
user = "${portunusUser}"; user = "${portunusUser}";
group = "${portunusGroup}"; group = "${portunusGroup}";
domain = "${domain}"; domain = "${domain}";
@ -123,13 +126,4 @@ in
}; };
}; };
}; };
nixpkgs.overlays = [
(self: super:
{
portunus = super.portunus.overrideAttrs (old: {
patches = [ ./0001-update-user-validation-regex.patch ];
});
})
];
} }