add fix
Some checks failed
Activate Homelab Configuration / rebuild (push) Failing after 1s

This commit is contained in:
Satria 2026-07-19 20:01:53 +07:00
commit c609d53062

View file

@ -1,4 +1,10 @@
{ lib, ... }: {
# fix every update causing error:
# > microservices worker error: PostgresError: must be owner of function album_user_after_insert, stack: PostgresError: must be owner of function album_user_after_insert
systemd.services.postgresql.postStart = pkgs.lib.mkAfter ''
$PSQL -d immich -c "ALTER FUNCTION album_user_after_insert() OWNER TO immich;" || true
'';
users.users.immich.extraGroups = [ "video" "render" ];
services = {