box: disable pg tcp stuff, add invidious to the ensure stuff
This commit is contained in:
parent
1a79e90da9
commit
d44bbc08d7
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user