{ config, pkgs, lib, secrets, ... }: { systemd.services = { "boot" = { wantedBy = [ "multi-user.target" ]; after = [ "resolvconf.target" ]; serviceConfig = { ExecStart = '' ${pkgs.curl}/bin/curl -H "Content-Type: application/json" -d '{"username": "${config.networking.hostName}", "content": "System booted or rebuilt."}' ${secrets.webhooks.discord.deploy} ''; #Restart = "never"; User = "root"; }; }; }; }