box: disable pg tcp stuff, add invidious to the ensure stuff

This commit is contained in:
Aaron Bieber 2023-07-06 11:00:56 -06:00
parent 1a79e90da9
commit d44bbc08d7
No known key found for this signature in database

View File

@ -837,14 +837,14 @@ in {
enable = true; enable = true;
dataDir = "/db/postgres"; dataDir = "/db/postgres";
enableTCPIP = true; #enableTCPIP = true;
authentication = pkgs.lib.mkOverride 14 '' #authentication = pkgs.lib.mkOverride 14 ''
local all all trust # local all all trust
host all all 127.0.0.1/32 trust # host all all 127.0.0.1/32 trust
host all all ::1/128 trust # host all all ::1/128 trust
''; #'';
ensureDatabases = [ "nextcloud" "gitea" ]; ensureDatabases = [ "nextcloud" "gitea" "invidious" ];
ensureUsers = [ ensureUsers = [
{ {
name = "nextcloud"; name = "nextcloud";