Merge pull request #277017 from hughobrien/patch-1

nixos/invidious: Fix  user message on 24.05 changes
This commit is contained in:
Nick Cao 2023-12-27 10:36:43 -05:00 committed by GitHub
commit 6248428d28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.
'';
}
];