diff --git a/nixos/default.nix b/nixos/default.nix index 7c35bc0..ee860bd 100644 --- a/nixos/default.nix +++ b/nixos/default.nix @@ -135,7 +135,7 @@ with lib; { ensureUsers = [ { name = cfg.user; - ensurePermissions = {"DATABASE \"stalwart-accounts\"" = "ALL PRIVILEGES";}; + ensureDBOwnership = true; } ]; ensureDatabases = ["stalwart-accounts"];