1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-18 03:30:45 +00:00
Commit graph

7 commits

Author SHA1 Message Date
Sophie Tauchert 24e561fabc
nixos/invidious: change default database user to invidious
This makes sure we don't need any workarounds for running Invidious with a local
PostgreSQL database.
Changing the default user should be fine as the new init script for PostgreSQL automatically
creates the new user and changes the existing database's owner to the new user. The old user
will still linger and must be removed manually.
See also: https://github.com/NixOS/nixpkgs/pull/266270
2023-12-17 19:48:15 +01:00
Sophie Tauchert ac5c1886fd
nixos/invidious: add option to configure http3-ytproxy for invidious 2023-12-17 19:48:03 +01:00
Sophie Tauchert 65e8f8a697
nixos/tests/invidious: add test for scaled invidious 2023-12-17 19:48:02 +01:00
Sophie Tauchert 460e34b273
nixos/tests/invidious: move postgres-tcp into second machine and fix tests
Using PostgreSQL 15 without the init script fails due to
https://github.com/NixOS/nixpkgs/issues/216989.
2023-12-17 19:48:02 +01:00
Raito Bezarius 10baca4935 nixos/invidious: do not use ensureDBOwnership
Invidious uses a strange setup where the database name is different from the system username
for non-explicit reasons.

Because of that, it makes it hard to migrate it to use `ensureDBOwnership`, we leave it to Invidious' maintainers
to pick up the pieces.
2023-11-17 15:53:08 +01:00
Robert Hensing aa0f27abb0 treewide: machine -> nodes.machine 2022-03-28 14:11:58 +02:00
Simon Bruder fa0bfdbe09
nixos/invidious: add test 2021-10-30 16:33:38 +02:00