nixos/invidious: Fix user message on 24.05 changes

This commit is contained in:
Hugh O'Brien 2023-12-26 20:44:04 -05:00
parent 6df37dc6a7
commit eff6b94cdd
No known key found for this signature in database
GPG Key ID: C940B792DD697FBE

View File

@ -153,10 +153,10 @@ let
message = ''
For local automatic database provisioning (services.invidious.database.createLocally == true)
to work, the username used to connect to PostgreSQL must match the database name, that is
services.invidious.database.user must match services.invidious.database.dbName.
services.invidious.settings.db.user must match services.invidious.settings.db.dbname.
This is the default since NixOS 24.05. For older systems, it is normally safe to manually set
services.invidious.database.user to "invidious" as the new user will be created with permissions
for the existing database.
for the existing database. `REASSIGN OWNED BY kemal TO invidious;` may also be needed.
'';
}
];