services: mealie: format
This commit is contained in:
parent
7dd83a2501
commit
eef9ae1ba5
|
@ -59,15 +59,15 @@ in {
|
||||||
|
|
||||||
systemd.services = {
|
systemd.services = {
|
||||||
mealie = {
|
mealie = {
|
||||||
after = [ "postgresql.service" ];
|
after = ["postgresql.service"];
|
||||||
requires = [ "postgresql.service" ];
|
requires = ["postgresql.service"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Set-up database
|
# Set-up database
|
||||||
services.postgresql = {
|
services.postgresql = {
|
||||||
enable = true;
|
enable = true;
|
||||||
ensureDatabases = [ "mealie" ];
|
ensureDatabases = ["mealie"];
|
||||||
ensureUsers = [
|
ensureUsers = [
|
||||||
{
|
{
|
||||||
name = "mealie";
|
name = "mealie";
|
||||||
|
|
Loading…
Reference in a new issue