Fixup Databases

This commit is contained in:
2023-11-21 09:23:40 -05:00
parent f3ddf6b3ae
commit 5092943641
4 changed files with 9 additions and 14 deletions

View File

@@ -76,8 +76,8 @@ in {
# generate video thumbnails with preview generator
ffmpeg_5-headless
# required for recognize app
nodejs-14_x # runtime and installation requirement
nodejs-14_x.pkgs.node-pre-gyp # installation requirement
nodejs_20 # runtime and installation requirement
nodejs_20.pkgs.node-pre-gyp # installation requirement
util-linux # runtime requirement for taskset
];
};
@@ -103,9 +103,7 @@ in {
];
ensureUsers = [{
name = "nextcloud";
ensurePermissions = {
"DATABASE \"nextcloud\"" = "ALL PRIVILEGES";
};
ensureDBOwnership = true;
ensureClauses = {
createdb = true;
};