Make bookwyrm user owner of database in Bookwyrm NixOS module
This commit is contained in:
parent
e06be59365
commit
9a484e031e
1 changed files with 4 additions and 1 deletions
|
@ -65,7 +65,10 @@ with pkgs . kernelmaft ;
|
|||
postgresql = {
|
||||
enable = true ;
|
||||
ensureUsers = [
|
||||
{ name = "bookwyrm" ; }
|
||||
{
|
||||
name = "bookwyrm" ;
|
||||
ensureDBOwnership = true ;
|
||||
}
|
||||
] ;
|
||||
ensureDatabases = [ "bookwyrm" ] ;
|
||||
} ;
|
||||
|
|
Loading…
Add table
Reference in a new issue