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

21
flake.lock generated
View file

@ -688,26 +688,6 @@
"type": "github" "type": "github"
} }
}, },
"reboot-bot": {
"inputs": {
"nixpkgs": [
"unstable"
]
},
"locked": {
"lastModified": 1725660144,
"narHash": "sha256-k63aCiukMVOjF219V8O9PvXq7WrVnQtiP0vLpBO5iqg=",
"owner": "Gerg-L",
"repo": "reboot-bot",
"rev": "4dabb1fc71cbb222d775db690a13838028012608",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "reboot-bot",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"disko": "disko", "disko": "disko",
@ -719,7 +699,6 @@
"nix-janitor": "nix-janitor", "nix-janitor": "nix-janitor",
"nixos-generators": "nixos-generators", "nixos-generators": "nixos-generators",
"nvim-flake": "nvim-flake", "nvim-flake": "nvim-flake",
"reboot-bot": "reboot-bot",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"spicetify-nix": "spicetify-nix", "spicetify-nix": "spicetify-nix",
"stable": "stable", "stable": "stable",

View file

@ -94,12 +94,6 @@
repo = "fetch-rs"; repo = "fetch-rs";
inputs.nixpkgs.follows = "unstable"; inputs.nixpkgs.follows = "unstable";
}; };
reboot-bot = {
type = "github";
owner = "Gerg-L";
repo = "reboot-bot";
inputs.nixpkgs.follows = "unstable";
};
}; };
outputs = outputs =
inputs: inputs:

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";
};
};
}