Make sure lemmy user/db exist
This commit is contained in:
parent
f6a96c6572
commit
88b8c4b3c0
|
@ -100,7 +100,14 @@ in {
|
|||
};
|
||||
services = {
|
||||
nscd.enable = false;
|
||||
postgresql.enable = true;
|
||||
postgresql = {
|
||||
enable = true;
|
||||
ensureUsers = [{
|
||||
name = "lemmy";
|
||||
ensureDBOwnership = true;
|
||||
}];
|
||||
ensureDatabases = [ "lemmy" ];
|
||||
};
|
||||
pict-rs.enable = true;
|
||||
lemmy = {
|
||||
enable = true;
|
||||
|
|
Loading…
Reference in New Issue