summaryrefslogtreecommitdiff
path: root/systems
diff options
context:
space:
mode:
Diffstat (limited to 'systems')
-rw-r--r--systems/atlas/default.nix6
-rw-r--r--systems/default.nix6
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;
};
};