1 files changed, 1 insertions, 0 deletions
diff --git a/modules/infra-logs.nix b/modules/infra-logs.nix
index 0ca78a0..49afd96 100644
--- a/modules/infra-logs.nix
+++ b/modules/infra-logs.nix
@@ -3,6 +3,7 @@
systemd.services = {
"boot" = {
wantedBy = [ "multi-user.target" ];
+ after = [ "network.target" ];
serviceConfig = {
ExecStart = ''
${pkgs.curl}/bin/curl -H "Content-Type: application/json" -d '{"username": "${config.networking.hostName}", "content": "System booted."}' ${secrets.webhooks.discord.deploy}
|