Enable PostgreSQL in Bookwyrm NixOS module

This commit is contained in:
Reinout Meliesie 2025-03-08 16:14:09 +01:00
parent 0289e2b7ff
commit a4f5345c71
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6

View file

@ -59,4 +59,14 @@ with pkgs . kernelmaft ;
} ;
} ;
} ;
services = {
postgresql = {
enable = true ;
ensureUsers = [
{ name = "bookwyrm" ; }
] ;
ensureDatabases = [ "bookwyrm" ] ;
} ;
} ;
}