nextcloud: added postgresql auth * identMap
This commit is contained in:
parent
23500953d7
commit
45f68cc449
|
@ -47,6 +47,14 @@
|
||||||
|
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true; # Ensure postgresql is enabled
|
enable = true; # Ensure postgresql is enabled
|
||||||
|
authentication = ''
|
||||||
|
local nextcloud all ident map=nextcloud-users
|
||||||
|
'';
|
||||||
|
identMap =
|
||||||
|
# Map the forgejo user to postgresql
|
||||||
|
''
|
||||||
|
nextcloud-users nextcloud nextcloud
|
||||||
|
'';
|
||||||
ensureDatabases = ["nextcloud"]; # Ensure the database persists
|
ensureDatabases = ["nextcloud"]; # Ensure the database persists
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue