gitea: ensure service starts after nixops keys are loaded

This commit is contained in:
Serĉanto de Scio 2022-08-16 13:48:33 +10:00
parent 543932b7b3
commit d34c19fd09
Signed by: sercanto
GPG key ID: 7DBA9F5689EFB6AA

View file

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