From e1387ae4821a95efabb356581f2234ef4aab42cb Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 13 Nov 2023 19:03:14 -0500 Subject: atlas: start hosting teawiebot --- systems/atlas/default.nix | 6 ++++++ systems/default.nix | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'systems') diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix index 93b2081..d241658 100644 --- a/systems/atlas/default.nix +++ b/systems/atlas/default.nix @@ -17,6 +17,8 @@ hermetic = false; }; + age.secrets.teawiebot.file = ../../secrets/systems/atlas/teawieBot.age; + boot = { loader.systemd-boot.enable = true; loader.efi.canTouchEfiVariables = true; @@ -30,6 +32,10 @@ services = { resolved.enable = false; + teawiebot = { + enable = true; + environmentFile = config.age.secrets.teawiebot.path; + }; }; users.users.atlas = { diff --git a/systems/default.nix b/systems/default.nix index 40073c5..023dc59 100644 --- a/systems/default.nix +++ b/systems/default.nix @@ -59,7 +59,11 @@ in { atlas = { builder = inputs.nixpkgs-stable.lib.nixosSystem; system = "aarch64-linux"; - modules = server; + modules = + [ + inputs.teawiebot.nixosModules.default + ] + ++ server; }; }; -- cgit v1.2.3