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