mirror of
https://git.pvv.ntnu.no/Drift/pvv-nixos-config.git
synced 2026-08-11 05:42:33 +02:00
treewide: add missing systemd ordering directives
In particular, we were missing `sops-install-secrets.service` in a ton of places, and `network-online.target` for some homebrewn services. This has caused failure of some services on machine startup.
This commit is contained in:
@@ -48,7 +48,16 @@ in
|
||||
# %d - secrets directory
|
||||
systemd.services."gitea-web-secret-provider@" = {
|
||||
description = "Ensure all repos in %i has an SSH key to push web content";
|
||||
requires = [ "gitea.service" "network.target" ];
|
||||
after = [
|
||||
"sops-install-secrets.service"
|
||||
"gitea.service"
|
||||
"network-online.target"
|
||||
];
|
||||
requires = [
|
||||
"sops-install-secrets.service"
|
||||
"gitea.service"
|
||||
"network-online.target"
|
||||
];
|
||||
serviceConfig = {
|
||||
Slice = "system-giteaweb.slice";
|
||||
Type = "oneshot";
|
||||
|
||||
Reference in New Issue
Block a user