diff --git a/flake.lock b/flake.lock index fed796c..797e94f 100644 --- a/flake.lock +++ b/flake.lock @@ -688,26 +688,6 @@ "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": { "inputs": { "disko": "disko", @@ -719,7 +699,6 @@ "nix-janitor": "nix-janitor", "nixos-generators": "nixos-generators", "nvim-flake": "nvim-flake", - "reboot-bot": "reboot-bot", "sops-nix": "sops-nix", "spicetify-nix": "spicetify-nix", "stable": "stable", diff --git a/flake.nix b/flake.nix index 8e4280d..55afc27 100644 --- a/flake.nix +++ b/flake.nix @@ -94,12 +94,6 @@ repo = "fetch-rs"; inputs.nixpkgs.follows = "unstable"; }; - reboot-bot = { - type = "github"; - owner = "Gerg-L"; - repo = "reboot-bot"; - inputs.nixpkgs.follows = "unstable"; - }; }; outputs = inputs: diff --git a/nixosConfigurations/gerg-desktop/services/reboot-bot.nix b/nixosConfigurations/gerg-desktop/services/reboot-bot.nix deleted file mode 100644 index 8c5a758..0000000 --- a/nixosConfigurations/gerg-desktop/services/reboot-bot.nix +++ /dev/null @@ -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"; - }; - }; -}