diff options
Diffstat (limited to 'ops/modules')
-rw-r--r-- | ops/modules/clbot.nix | 2 | ||||
-rw-r--r-- | ops/modules/gerrit-queue.nix | 2 | ||||
-rw-r--r-- | ops/modules/irccat.nix | 2 | ||||
-rw-r--r-- | ops/modules/oauth2_proxy.nix | 2 | ||||
-rw-r--r-- | ops/modules/owothia.nix | 2 | ||||
-rw-r--r-- | ops/modules/panettone.nix | 2 | ||||
-rw-r--r-- | ops/modules/smtprelay.nix | 2 | ||||
-rw-r--r-- | ops/modules/tvl-buildkite.nix | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/ops/modules/clbot.nix b/ops/modules/clbot.nix index 958d321f81ad..84575ed07203 100644 --- a/ops/modules/clbot.nix +++ b/ops/modules/clbot.nix @@ -60,7 +60,7 @@ in secretsFile = mkOption { type = types.str; description = "EnvironmentFile from which to load secrets"; - default = "/run/agenix/clbot"; + default = config.age.secretsDir + "/clbot"; }; }; diff --git a/ops/modules/gerrit-queue.nix b/ops/modules/gerrit-queue.nix index 66d584cc3361..4468bcf1c5f9 100644 --- a/ops/modules/gerrit-queue.nix +++ b/ops/modules/gerrit-queue.nix @@ -24,7 +24,7 @@ in secretsFile = with lib; mkOption { description = "Path to a systemd EnvironmentFile containing secrets"; - default = "/run/agenix/gerrit-queue"; + default = config.age.secretsDir + "/gerrit-queue"; type = types.str; }; }; diff --git a/ops/modules/irccat.nix b/ops/modules/irccat.nix index 05a783fd6614..0819c52a8de7 100644 --- a/ops/modules/irccat.nix +++ b/ops/modules/irccat.nix @@ -40,7 +40,7 @@ in secretsFile = lib.mkOption { type = lib.types.str; description = "Path to the secrets file to be merged"; - default = "/run/agenix/irccat"; + default = config.age.secretsDir + "/irccat"; }; }; diff --git a/ops/modules/oauth2_proxy.nix b/ops/modules/oauth2_proxy.nix index 58b3a222a80d..e92572365d52 100644 --- a/ops/modules/oauth2_proxy.nix +++ b/ops/modules/oauth2_proxy.nix @@ -37,7 +37,7 @@ in secretsFile = lib.mkOption { type = lib.types.str; description = "EnvironmentFile from which to load secrets"; - default = "/run/agenix/oauth2_proxy"; + default = config.age.secretsDir + "/oauth2_proxy"; }; }; diff --git a/ops/modules/owothia.nix b/ops/modules/owothia.nix index d11fdd26ecbc..b9746c172090 100644 --- a/ops/modules/owothia.nix +++ b/ops/modules/owothia.nix @@ -12,7 +12,7 @@ in secretsFile = lib.mkOption { type = lib.types.str; description = "File path from which systemd should read secrets"; - default = "/run/agenix/owothia"; + default = config.age.secretsDir + "/owothia"; }; owoChance = lib.mkOption { diff --git a/ops/modules/panettone.nix b/ops/modules/panettone.nix index d57e53e75442..2576ab16c5bf 100644 --- a/ops/modules/panettone.nix +++ b/ops/modules/panettone.nix @@ -37,7 +37,7 @@ in by systemd's EnvironmentFile ''; type = types.str; - default = "/run/agenix/panettone"; + default = config.age.secretsDir + "/panettone"; }; irccatHost = mkOption { diff --git a/ops/modules/smtprelay.nix b/ops/modules/smtprelay.nix index cfb185ecd107..f6ce2621757d 100644 --- a/ops/modules/smtprelay.nix +++ b/ops/modules/smtprelay.nix @@ -40,7 +40,7 @@ in secretsFile = mkOption { type = types.str; - default = "/run/agenix/smtprelay"; + default = config.age.secretsDir + "/smtprelay"; }; }; diff --git a/ops/modules/tvl-buildkite.nix b/ops/modules/tvl-buildkite.nix index a6e7372a250a..c38687f80f71 100644 --- a/ops/modules/tvl-buildkite.nix +++ b/ops/modules/tvl-buildkite.nix @@ -40,7 +40,7 @@ in value = { inherit name; enable = true; - tokenPath = "/run/agenix/buildkite-agent-token"; + tokenPath = config.age.secretsDir + "/buildkite-agent-token"; hooks.post-command = "${buildkiteHooks}/bin/post-command"; runtimePackages = with pkgs; [ |