refactor(services): unify 'after' property in systemd configurations
Some checks failed
Flake checker / Build Nix targets (push) Failing after 16s

This commit is contained in:
uttarayan21
2025-10-11 19:10:27 +05:30
parent bf2b911692
commit 5c205b6245
3 changed files with 3 additions and 6 deletions

View File

@@ -143,9 +143,7 @@
};
};
systemd.services.gitea = {
serviceConfig = {
After = ["sops-install-secrets.service"];
};
after = ["sops-install-secrets.service"];
};
# systemd.services.gitea-oauth-setup = let

View File

@@ -34,10 +34,9 @@
};
};
systemd.services.caddy = {
after = ["sops-install-secrets.service"];
serviceConfig = {
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
Requires = ["sops-install-secrets.service"];
After = ["sops-install-secrets.service"];
};
};
}

View File

@@ -39,8 +39,8 @@
};
};
systemd.services.caddy = {
after = ["sops-install-secrets.service"];
serviceConfig = {
After = ["sops-install-secrets.service"];
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
};
};