Add homepage database for chir.rs
This commit is contained in:
parent
f3ebad158c
commit
186a2e4202
1 changed files with 5 additions and 0 deletions
|
@ -19,4 +19,9 @@
|
|||
proxyPass = "http://localhost:8621/api.chir.rs/";
|
||||
};
|
||||
};
|
||||
services.postgresql.ensureDatabases = [ "homepage" ];
|
||||
services.postgresql.ensureUsers = [{
|
||||
name = "homepage";
|
||||
ensurePermissions = { "DATABASE homepage" = "ALL PRIVILEGES"; };
|
||||
}];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue