diff --git a/hosts/box/default.nix b/hosts/box/default.nix index fea5d77..a9ed914 100644 --- a/hosts/box/default.nix +++ b/hosts/box/default.nix @@ -1088,15 +1088,15 @@ in ensureUsers = [ { name = "nextcloud"; - ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "gitea"; - ensurePermissions."DATABASE gitea" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "invidious"; - ensurePermissions."DATABASE invidious" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; }; diff --git a/hosts/h/default.nix b/hosts/h/default.nix index e813022..44e2bbe 100644 --- a/hosts/h/default.nix +++ b/hosts/h/default.nix @@ -828,15 +828,14 @@ in ensureUsers = [ { name = "synapse_user"; - ensurePermissions."DATABASE synapse" = "ALL PRIVILEGES"; } { name = "gotosocial"; - ensurePermissions."DATABASE gotosocial" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "syncv3"; - ensurePermissions."DATABASE syncv3" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; };