diff --git a/packages/bookwyrm/nixos-module.nix b/packages/bookwyrm/nixos-module.nix index e293aee..c3714dc 100644 --- a/packages/bookwyrm/nixos-module.nix +++ b/packages/bookwyrm/nixos-module.nix @@ -65,7 +65,10 @@ with pkgs . kernelmaft ; postgresql = { enable = true ; ensureUsers = [ - { name = "bookwyrm" ; } + { + name = "bookwyrm" ; + ensureDBOwnership = true ; + } ] ; ensureDatabases = [ "bookwyrm" ] ; } ;