diff options
| author | seth <[email protected]> | 2023-11-13 19:03:14 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-11-13 19:03:14 -0500 |
| commit | e1387ae4821a95efabb356581f2234ef4aab42cb (patch) | |
| tree | 32b5eb2932da4027a157d4e9d9fa158c0e80dddf /systems | |
| parent | bdeb3438b635dce453310466a3ade6317fb0e0f7 (diff) | |
atlas: start hosting teawiebot
Diffstat (limited to 'systems')
| -rw-r--r-- | systems/atlas/default.nix | 6 | ||||
| -rw-r--r-- | systems/default.nix | 6 |
2 files changed, 11 insertions, 1 deletions
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; }; }; |
