This commit is contained in:
Lillian Violet 2023-11-23 15:02:52 +01:00
parent eb8bd48c73
commit 449291f339

View file

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