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 = {
|
postgresql = {
|
||||||
enable = true ;
|
enable = true ;
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{ name = "bookwyrm" ; }
|
{
|
||||||
|
name = "bookwyrm" ;
|
||||||
|
ensureDBOwnership = true ;
|
||||||
|
}
|
||||||
] ;
|
] ;
|
||||||
ensureDatabases = [ "bookwyrm" ] ;
|
ensureDatabases = [ "bookwyrm" ] ;
|
||||||
} ;
|
} ;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue