gitea: ensure service starts after nixops keys are loaded
This commit is contained in:
parent
543932b7b3
commit
d34c19fd09
|
@ -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 = {
|
||||
enable = true; # Ensure postgresql is enabled
|
||||
authentication = ''
|
||||
|
|
Loading…
Reference in a new issue