From 6d8163c538bbc306baeaebee2e058085334fa016 Mon Sep 17 00:00:00 2001 From: Lillian-Violet Date: Sun, 17 Dec 2023 21:25:08 +0100 Subject: [PATCH] Let's try this ownership setting? --- nixos/queen/postgres.nix | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos/queen/postgres.nix b/nixos/queen/postgres.nix index 37d3cfd..d13f253 100644 --- a/nixos/queen/postgres.nix +++ b/nixos/queen/postgres.nix @@ -16,19 +16,19 @@ ensureUsers = [ { name = "nextcloud"; - ensurePermissions."DATABASE nextcloud" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "onlyoffice"; - ensurePermissions."DATABASE onlyoffice" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "akkoma"; - ensurePermissions."DATABASE akkoma" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } { name = "gotosocial"; - ensurePermissions."DATABASE gotosocial" = "ALL PRIVILEGES"; + ensureDBOwnership = true; } ]; };