summaryrefslogtreecommitdiff
path: root/systems/atlas/default.nix
diff options
context:
space:
mode:
authorseth <[email protected]>2023-12-10 07:54:17 -0500
committerseth <[email protected]>2023-12-10 07:54:25 -0500
commite8a112be9a0bf067c8acb3a26cfd183c2f57c513 (patch)
treec3b063cc3a8abbeb3e82ca83eb53cc55e86fd569 /systems/atlas/default.nix
parentb68737baf9f8ff6cb6f42b3781b995598bc8ba80 (diff)
systems+modules: add secretsDir specialArg
Diffstat (limited to 'systems/atlas/default.nix')
-rw-r--r--systems/atlas/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/systems/atlas/default.nix b/systems/atlas/default.nix
index 247e134..7b0955a 100644
--- a/systems/atlas/default.nix
+++ b/systems/atlas/default.nix
@@ -1,6 +1,7 @@
{
config,
pkgs,
+ secretsDir,
...
}: {
imports = [
@@ -18,7 +19,7 @@
hermetic = false;
};
- age.secrets.teawiebot.file = ../../secrets/atlas/teawieBot.age;
+ age.secrets.teawiebot.file = secretsDir + "/teawieBot.age";
boot = {
loader.systemd-boot.enable = true;