refactor: remove reboot-bot

This commit is contained in:
Gerg-L 2025-05-03 13:10:26 -04:00
parent 239a1645c6
commit eb32d5f0d1
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
3 changed files with 0 additions and 49 deletions

View file

@ -1,22 +0,0 @@
{
config,
lib,
reboot-bot,
}:
{
sops.secrets.reboot_token = { };
systemd.services.reboot_bot = {
enable = false;
wantedBy = [ "multi-user.target" ];
wants = [ "network-online.target" ];
after = [ "network-online.target" ];
serviceConfig = {
ExecStart = lib.getExe reboot-bot.packages.default;
EnvironmentFile = config.sops.secrets.reboot_token.path;
Restart = "on-failure";
RestartSec = "30s";
};
};
}