From 231b3fcc43fec88c204cc3b8c5a29c2437690f01 Mon Sep 17 00:00:00 2001 From: pennae Date: Tue, 2 Apr 2024 16:02:51 +0200 Subject: fix for nixos postgres ensure* changes --- flake.lock | 6 +++--- module.nix | 4 +--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index 44347ad..60eff6f 100644 --- a/flake.lock +++ b/flake.lock @@ -2,11 +2,11 @@ "nodes": { "nixpkgs": { "locked": { - "lastModified": 1690425763, - "narHash": "sha256-b6WcFxM9hwo0IriCujmFJUcN/7rpBXwSblUM7BibkB0=", + "lastModified": 1707714218, + "narHash": "sha256-IluNQvD89OkigiK6X5omI78q2xRFe+zUHAfhFpczuHo=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "66714bb9307bf6bcf501095abf9f1ddc05755805", + "rev": "4477ea4df78489cd91195df19a324ba46a84ab89", "type": "github" }, "original": { diff --git a/module.nix b/module.nix index e4c1de3..6f7ab9c 100644 --- a/module.nix +++ b/module.nix @@ -90,9 +90,7 @@ in ensureDatabases = [ "minorskulk" ]; ensureUsers = [ { name = "minorskulk"; - ensurePermissions = { - "DATABASE minorskulk" = "ALL PRIVILEGES"; - }; + ensureDBOwnership = true; } ]; }; -- cgit v1.2.3