summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2024-04-02 16:02:51 +0200
committerpennae <github@quasiparticle.net>2024-04-02 16:02:51 +0200
commit231b3fcc43fec88c204cc3b8c5a29c2437690f01 (patch)
treec560eb073927f49073742d512d60c157f9a6a9a1
parent58042d0b7945a9a4efc6cd21157d84551b7b36bf (diff)
downloadminor-skulk-231b3fcc43fec88c204cc3b8c5a29c2437690f01.tar.gz
minor-skulk-231b3fcc43fec88c204cc3b8c5a29c2437690f01.tar.xz
minor-skulk-231b3fcc43fec88c204cc3b8c5a29c2437690f01.zip
fix for nixos postgres ensure* changes
-rw-r--r--flake.lock6
-rw-r--r--module.nix4
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;
} ];
};