Don't enable PostgreSQL and add Redis server in Bookwyrm NixOS module
This commit is contained in:
parent
23b627e7d4
commit
69dc5f31cf
1 changed files with 8 additions and 1 deletions
|
@ -66,7 +66,6 @@ with pkgs . kernelmaft ;
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
postgresql = {
|
postgresql = {
|
||||||
enable = true ;
|
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "bookwyrm" ;
|
name = "bookwyrm" ;
|
||||||
|
@ -75,5 +74,13 @@ with pkgs . kernelmaft ;
|
||||||
] ;
|
] ;
|
||||||
ensureDatabases = [ "bookwyrm" ] ;
|
ensureDatabases = [ "bookwyrm" ] ;
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
redis = {
|
||||||
|
servers = {
|
||||||
|
bookwyrm = {
|
||||||
|
enable = true ;
|
||||||
|
} ;
|
||||||
|
} ;
|
||||||
|
} ;
|
||||||
} ;
|
} ;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue