diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-04-03 18:37:04 +0200 |
---|---|---|
committer | Rory& <root@rory.gay> | 2024-06-05 15:52:38 +0200 |
commit | 5531ad07ae13df3d5b418c36d32fe7994efa8c9a (patch) | |
tree | 14cfef0d270defcb7501cb5720f090dbdc546f14 /modules | |
parent | Try passing lib and nixpkgs to secrets (diff) | |
download | Spacebar-Open-Infrastructure-5531ad07ae13df3d5b418c36d32fe7994efa8c9a.tar.xz |
Make infra boot log depend on network target
Diffstat (limited to 'modules')
-rw-r--r-- | modules/infra-logs.nix | 1 |
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} |