gitea: ensure service starts after nixops keys are loaded

This commit is contained in:
Fiscal Velvet Poet 2022-08-16 12:54:29 +10:00
parent 584f00ed86
commit 71ef91d00b
Signed by: fiscalvelvetpoet
GPG key ID: D8EBFD58B023BD47

View file

@ -45,6 +45,16 @@
};
};
systemd = {
services = {
gitea = {
# Ensure gitea starts after nixops keys are loaded
after = ["gitea-dbpass-key.service"];
wants = ["gitea-dbpass-key.service"];
};
};
};
services.postgresql = {
enable = true; # Ensure postgresql is enabled
authentication = ''