Enable PostgreSQL in Bookwyrm NixOS module
This commit is contained in:
parent
0289e2b7ff
commit
a4f5345c71
1 changed files with 10 additions and 0 deletions
|
@ -59,4 +59,14 @@ with pkgs . kernelmaft ;
|
||||||
} ;
|
} ;
|
||||||
} ;
|
} ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
postgresql = {
|
||||||
|
enable = true ;
|
||||||
|
ensureUsers = [
|
||||||
|
{ name = "bookwyrm" ; }
|
||||||
|
] ;
|
||||||
|
ensureDatabases = [ "bookwyrm" ] ;
|
||||||
|
} ;
|
||||||
|
} ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue