This commit is contained in:
Lillian-Violet 2023-11-23 15:02:52 +01:00
parent b40b5dcc23
commit d712df9d95

View file

@ -49,9 +49,9 @@
dbuser = "nextcloud"; dbuser = "nextcloud";
dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself dbhost = "/run/postgresql"; # nextcloud will add /.s.PGSQL.5432 by itself
dbname = "nextcloud"; dbname = "nextcloud";
dbpassFile = "/var/nextcloud-db-pass"; dbpassFile = sops.secrets."nextclouddb".path;
adminpassFile = "/var/nextcloud-admin-pass"; adminpassFile = sops.secrets."nextcloudadmin".path;
adminuser = "admin"; adminuser = "admin";
}; };
}; };
@ -65,7 +65,7 @@
ensureUsers = [ ensureUsers = [
{ {
name = "nextcloud"; name = "nextcloud";
ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; ensureDBOwnership."DATABASE nextcloud" = "ALL PRIVILEGES";
} }
]; ];
}; };