feat: Only load caddy after sops
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
All checks were successful
Flake checker / Build Nix targets (push) Successful in 9m29s
This commit is contained in:
@@ -35,6 +35,8 @@
|
||||
systemd.services.caddy = {
|
||||
serviceConfig = {
|
||||
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
||||
Requires = ["sops.service"];
|
||||
After = ["sops.service"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -40,6 +40,8 @@
|
||||
systemd.services.caddy = {
|
||||
serviceConfig = {
|
||||
EnvironmentFile = config.sops.templates."HETZNER_API_KEY.env".path;
|
||||
Requires = ["sops.service"];
|
||||
After = ["sops.service"];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user