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