diff options
| author | Seth Flynn <[email protected]> | 2025-02-04 18:29:03 -0500 |
|---|---|---|
| committer | Seth Flynn <[email protected]> | 2025-02-04 18:46:44 -0500 |
| commit | dc0a4af24756bf162ab9081e1041612a03f2aac2 (patch) | |
| tree | ddf9c38ec49f59ba53754985dea7864ec8b2b437 | |
| parent | 090b8b759f8b1fda7ac9c6fdda200593adcbc633 (diff) | |
flake: teawiebot -> moyai-bot
| -rw-r--r-- | flake.lock | 44 | ||||
| -rw-r--r-- | flake.nix | 10 | ||||
| -rw-r--r-- | systems/atlas/default.nix | 2 | ||||
| -rw-r--r-- | systems/atlas/moyai.nix | 16 | ||||
| -rw-r--r-- | systems/atlas/teawiebot.nix | 16 |
5 files changed, 44 insertions, 44 deletions
@@ -249,6 +249,26 @@ "type": "github" } }, + "moyai-bot": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1738711387, + "narHash": "sha256-bOI4H6vmkwqpiSUbdwLtiQgc3DWU67poYtzO64S/6HA=", + "owner": "getchoo", + "repo": "moyai-bot", + "rev": "e769f685b3a0a530a4e0c582d021861c5d612b4f", + "type": "github" + }, + "original": { + "owner": "getchoo", + "repo": "moyai-bot", + "type": "github" + } + }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -420,14 +440,14 @@ "home-manager": "home-manager", "krunner-nix": "krunner-nix", "lanzaboote": "lanzaboote", + "moyai-bot": "moyai-bot", "nix-darwin": "nix-darwin", "nix-index-database": "nix-index-database", "nixos-wsl": "nixos-wsl", "nixpkgs": "nixpkgs", "nixpkgs-stable": "nixpkgs-stable", "nixpkgs-tracker-bot": "nixpkgs-tracker-bot", - "openwrt-imagebuilder": "openwrt-imagebuilder", - "teawiebot": "teawiebot" + "openwrt-imagebuilder": "openwrt-imagebuilder" } }, "rust-overlay": { @@ -465,26 +485,6 @@ "repo": "default", "type": "github" } - }, - "teawiebot": { - "inputs": { - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1736905095, - "narHash": "sha256-7biHHMu+xBem7HrwXN5XMO/jvb/abDEQzK4dqz1eCC4=", - "owner": "getchoo", - "repo": "teawiebot", - "rev": "282f42046d5f4f6a8d0194ec28f6ee6efb11afc4", - "type": "github" - }, - "original": { - "owner": "getchoo", - "repo": "teawiebot", - "type": "github" - } } }, "root": "root", @@ -98,6 +98,11 @@ }; }; + moyai-bot = { + url = "github:getchoo/moyai-bot"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nix-index-database = { url = "github:nix-community/nix-index-database"; inputs.nixpkgs.follows = "nixpkgs"; @@ -128,10 +133,5 @@ systems.follows = "agenix/systems"; }; }; - - teawiebot = { - url = "github:getchoo/teawiebot"; - inputs.nixpkgs.follows = "nixpkgs"; - }; }; } diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index 7e7bfe7..3ccd4ab 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -4,9 +4,9 @@ (modulesPath + "/profiles/minimal.nix") ./hardware-configuration.nix ./miniflux.nix + ./moyai.nix ./nginx.nix ./nixpkgs-tracker-bot.nix - ./teawiebot.nix inputs.self.nixosModules.default ]; diff --git a/systems/atlas/moyai.nix b/systems/atlas/moyai.nix new file mode 100644 index 0000000..1d0f1ec --- /dev/null +++ b/systems/atlas/moyai.nix @@ -0,0 +1,16 @@ +{ + config, + secretsDir, + inputs, + ... +}: +{ + imports = [ inputs.moyai-bot.nixosModules.default ]; + + age.secrets.moyai-bot.file = secretsDir + "/teawieBot.age"; + + services.moyai-discord-bot = { + enable = true; + environmentFile = config.age.secrets.moyai-bot.path; + }; +} diff --git a/systems/atlas/teawiebot.nix b/systems/atlas/teawiebot.nix deleted file mode 100644 index 8f6d560..0000000 --- a/systems/atlas/teawiebot.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ - config, - secretsDir, - inputs, - ... -}: -{ - imports = [ inputs.teawiebot.nixosModules.default ]; - - age.secrets.teawiebot.file = secretsDir + "/teawieBot.age"; - - services.teawiebot = { - enable = true; - environmentFile = config.age.secrets.teawiebot.path; - }; -} |
