This commit is contained in:
mjallen18
2025-11-20 16:32:06 -06:00
parent f3cac97463
commit 140b9b5e32

View File

@@ -29,6 +29,7 @@
"authentik" "authentik"
"homeassistant" "homeassistant"
"nextcloud" "nextcloud"
"synapse"
]; ];
ensureUsers = [ ensureUsers = [
{ {
@@ -43,6 +44,10 @@
name = "nextcloud"; name = "nextcloud";
ensureDBOwnership = true; ensureDBOwnership = true;
} }
{
name = "synapse";
ensureDBOwnership = true;
}
]; ];
# Allow access via pg_hba.conf rules: # Allow access via pg_hba.conf rules:
authentication = pkgs.lib.mkOverride 50 '' authentication = pkgs.lib.mkOverride 50 ''
@@ -52,6 +57,8 @@
local nextcloud nextcloud trust local nextcloud nextcloud trust
host nextcloud nextcloud 10.0.1.0/24 trust host nextcloud nextcloud 10.0.1.0/24 trust
host nextcloud nextcloud ::1/128 trust host nextcloud nextcloud ::1/128 trust
local synapse synapse trust
host synapse synapse ::1/128 trust
''; '';
}; };