fix(attic): remove unused $PSQL alias in postStart script

- Replace `$PSQL` with `psql` to use the correct PostgreSQL CLI directly.
- Ensures compatibility and prevents potential runtime issues in the systemd service.
This commit is contained in:
Harald Hoyer 2026-03-25 10:19:44 +01:00
parent 2ca35ba38d
commit e12fc523d6

View file

@ -12,7 +12,7 @@
}; };
systemd.services.postgresql.postStart = lib.mkAfter '' systemd.services.postgresql.postStart = lib.mkAfter ''
$PSQL -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"' psql -tAc 'ALTER DATABASE "attic" OWNER TO "atticd"'
''; '';
environment.systemPackages = with pkgs; [ attic-client ]; environment.systemPackages = with pkgs; [ attic-client ];