From 1b52c0bf65b246552fb72dc66a9c5d2b022645b3 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; } ]; };