From a3f048d256836fa060e8368804b9dcb5b78cbc40 Mon Sep 17 00:00:00 2001 From: uttarayan21 Date: Thu, 4 Sep 2025 12:29:38 +0530 Subject: [PATCH] chore: remove discord bot --- flake.lock | 177 ++++-------------------------- flake.nix | 5 - nixos/mirai/services/default.nix | 1 - nixos/mirai/services/sigmabot.nix | 18 --- overlays.nix | 1 - 5 files changed, 24 insertions(+), 178 deletions(-) delete mode 100644 nixos/mirai/services/sigmabot.nix diff --git a/flake.lock b/flake.lock index 3b4efd57..1abd9a01 100644 --- a/flake.lock +++ b/flake.lock @@ -65,22 +65,6 @@ } }, "advisory-db_5": { - "flake": false, - "locked": { - "lastModified": 1755861653, - "narHash": "sha256-zkStY/nTObqgAAintcpud3qb0kWD+ulIuQitawB3Bi4=", - "owner": "rustsec", - "repo": "advisory-db", - "rev": "4f41cf997750198dcde6b7b6b58a232fe4f925d4", - "type": "github" - }, - "original": { - "owner": "rustsec", - "repo": "advisory-db", - "type": "github" - } - }, - "advisory-db_6": { "flake": false, "locked": { "lastModified": 1753275806, @@ -96,7 +80,7 @@ "type": "github" } }, - "advisory-db_7": { + "advisory-db_6": { "flake": false, "locked": { "lastModified": 1746469888, @@ -389,21 +373,6 @@ } }, "crane_6": { - "locked": { - "lastModified": 1755993354, - "narHash": "sha256-FCRRAzSaL/+umLIm3RU3O/+fJ2ssaPHseI2SSFL8yZU=", - "owner": "ipetkov", - "repo": "crane", - "rev": "25bd41b24426c7734278c2ff02e53258851db914", - "type": "github" - }, - "original": { - "owner": "ipetkov", - "repo": "crane", - "type": "github" - } - }, - "crane_7": { "locked": { "lastModified": 1754269165, "narHash": "sha256-0tcS8FHd4QjbCVoxN9jI+PjHgA4vc/IjkUSp+N3zy0U=", @@ -418,7 +387,7 @@ "type": "github" } }, - "crane_8": { + "crane_7": { "locked": { "lastModified": 1746291859, "narHash": "sha256-DdWJLA+D5tcmrRSg5Y7tp/qWaD05ATI4Z7h22gd1h7Q=", @@ -433,7 +402,7 @@ "type": "github" } }, - "crane_9": { + "crane_8": { "locked": { "lastModified": 1754269165, "narHash": "sha256-0tcS8FHd4QjbCVoxN9jI+PjHgA4vc/IjkUSp+N3zy0U=", @@ -1040,24 +1009,6 @@ "inputs": { "systems": "systems_20" }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_18": { - "inputs": { - "systems": "systems_21" - }, "locked": { "lastModified": 1726560853, "narHash": "sha256-X6rJYSESBVr3hBoH0WbKE5KvhPU5bloyZ2L4K60/fPQ=", @@ -1072,9 +1023,9 @@ "type": "github" } }, - "flake-utils_19": { + "flake-utils_18": { "inputs": { - "systems": "systems_22" + "systems": "systems_21" }, "locked": { "lastModified": 1731533236, @@ -2132,27 +2083,6 @@ } }, "nix-github-actions_4": { - "inputs": { - "nixpkgs": [ - "spotybooty", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1737420293, - "narHash": "sha256-F1G5ifvqTpJq7fdkT34e/Jy9VCyzd5XfJ9TO8fHhJWE=", - "owner": "nix-community", - "repo": "nix-github-actions", - "rev": "f4158fa080ef4503c8f4c820967d946c2af31ec9", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "nix-github-actions", - "type": "github" - } - }, - "nix-github-actions_5": { "inputs": { "nixpkgs": [ "tmux-float", @@ -2173,7 +2103,7 @@ "type": "github" } }, - "nix-github-actions_6": { + "nix-github-actions_5": { "inputs": { "nixpkgs": [ "zeronsd", @@ -2824,7 +2754,6 @@ "rest-nvim": "rest-nvim", "rust-overlay": "rust-overlay_8", "sops-nix": "sops-nix", - "spotybooty": "spotybooty", "tmux-float": "tmux-float", "tree-sitter-d2": "tree-sitter-d2", "tree-sitter-just": "tree-sitter-just", @@ -2876,27 +2805,6 @@ } }, "rust-overlay_10": { - "inputs": { - "nixpkgs": [ - "tmux-float", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1754276100, - "narHash": "sha256-VmYP9Jo0U234xtGTGtihqNHfGy1JZ1h9WaaJlIuzgCk=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "dc2d2489572fa8a3b86c15ff9fd01f99b90cb90d", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, - "rust-overlay_11": { "inputs": { "nixpkgs": [ "zeronsd", @@ -2917,7 +2825,7 @@ "type": "github" } }, - "rust-overlay_12": { + "rust-overlay_11": { "inputs": { "nixpkgs": [ "zjstatus", @@ -3088,16 +2996,16 @@ "rust-overlay_9": { "inputs": { "nixpkgs": [ - "spotybooty", + "tmux-float", "nixpkgs" ] }, "locked": { - "lastModified": 1756003222, - "narHash": "sha256-lmEMhIIbjt8Wp1EYbNqCojuU9ygyDFv8Tu0X1k8qIMc=", + "lastModified": 1754276100, + "narHash": "sha256-VmYP9Jo0U234xtGTGtihqNHfGy1JZ1h9WaaJlIuzgCk=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "88ceedecde53e809b4bf8b5fd10d181889d9bac7", + "rev": "dc2d2489572fa8a3b86c15ff9fd01f99b90cb90d", "type": "github" }, "original": { @@ -3126,28 +3034,6 @@ "type": "github" } }, - "spotybooty": { - "inputs": { - "advisory-db": "advisory-db_5", - "crane": "crane_6", - "flake-utils": "flake-utils_16", - "nix-github-actions": "nix-github-actions_4", - "nixpkgs": [ - "nixpkgs" - ], - "rust-overlay": "rust-overlay_9" - }, - "locked": { - "lastModified": 1756665026, - "narHash": "sha256-dxFo3m5R0D9qAxtn7QCuTV8QQ6DbW8Y59fwziSF8wMY=", - "path": "/home/servius/Projects/SpotyBooty", - "type": "path" - }, - "original": { - "path": "/home/servius/Projects/SpotyBooty", - "type": "path" - } - }, "systems": { "locked": { "lastModified": 1689347949, @@ -3358,21 +3244,6 @@ "type": "github" } }, - "systems_22": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - }, "systems_3": { "locked": { "lastModified": 1681028828, @@ -3480,14 +3351,14 @@ }, "tmux-float": { "inputs": { - "advisory-db": "advisory-db_6", - "crane": "crane_7", - "flake-utils": "flake-utils_17", - "nix-github-actions": "nix-github-actions_5", + "advisory-db": "advisory-db_5", + "crane": "crane_6", + "flake-utils": "flake-utils_16", + "nix-github-actions": "nix-github-actions_4", "nixpkgs": [ "nixpkgs" ], - "rust-overlay": "rust-overlay_10" + "rust-overlay": "rust-overlay_9" }, "locked": { "lastModified": 1754282648, @@ -3681,14 +3552,14 @@ }, "zeronsd": { "inputs": { - "advisory-db": "advisory-db_7", - "crane": "crane_8", - "flake-utils": "flake-utils_18", - "nix-github-actions": "nix-github-actions_6", + "advisory-db": "advisory-db_6", + "crane": "crane_7", + "flake-utils": "flake-utils_17", + "nix-github-actions": "nix-github-actions_5", "nixpkgs": [ "nixpkgs" ], - "rust-overlay": "rust-overlay_11" + "rust-overlay": "rust-overlay_10" }, "locked": { "lastModified": 1746544539, @@ -3735,12 +3606,12 @@ }, "zjstatus": { "inputs": { - "crane": "crane_9", - "flake-utils": "flake-utils_19", + "crane": "crane_8", + "flake-utils": "flake-utils_18", "nixpkgs": [ "nixpkgs" ], - "rust-overlay": "rust-overlay_12" + "rust-overlay": "rust-overlay_11" }, "locked": { "lastModified": 1756827929, diff --git a/flake.nix b/flake.nix index adb7e927..32cad99e 100644 --- a/flake.nix +++ b/flake.nix @@ -202,11 +202,6 @@ url = "github:ggml-org/llama.cpp/b6178?submodules=1"; flake = false; }; - spotybooty = { - # url = "git+ssh://gitea@git.darksailor.dev/servius/SpotyBooty"; - url = "path:/home/servius/Projects/SpotyBooty"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; outputs = { diff --git a/nixos/mirai/services/default.nix b/nixos/mirai/services/default.nix index e3913b55..9a92edfc 100644 --- a/nixos/mirai/services/default.nix +++ b/nixos/mirai/services/default.nix @@ -15,7 +15,6 @@ ./prowlarr.nix ./resolved.nix ./searxng.nix - ./sigmabot.nix ./tailscale.nix ./games # ./paperless.nix diff --git a/nixos/mirai/services/sigmabot.nix b/nixos/mirai/services/sigmabot.nix deleted file mode 100644 index b39c7cff..00000000 --- a/nixos/mirai/services/sigmabot.nix +++ /dev/null @@ -1,18 +0,0 @@ -{ - config, - inputs, - ... -}: { - imports = [ - inputs.spotybooty.nixosModules.default - ]; - sops = { - secrets."discord/token".owner = config.services.spotybooty.user; - }; - services.spotybooty = { - enable = true; - logLevel = "info"; - tokenFile = config.sops.secrets."discord/token".path; - openFirewall = true; - }; -} diff --git a/overlays.nix b/overlays.nix index 7bf8c695..fbd20496 100644 --- a/overlays.nix +++ b/overlays.nix @@ -290,7 +290,6 @@ in [ inputs.nur.overlays.default inputs.rust-overlay.overlays.default inputs.nix-minecraft.overlay - inputs.spotybooty.overlays.default jellyfin libfprint misc-applications