From adc6a88ff17e55ec6a6522c9a37a2ead26a3ed7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 12 Jul 2023 15:11:49 +0100 Subject: [PATCH 1/2] cachix-agent: clarify what should be in the token file --- modules/services/cachix-agent.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/services/cachix-agent.nix b/modules/services/cachix-agent.nix index 008dab8fe..7d16da489 100644 --- a/modules/services/cachix-agent.nix +++ b/modules/services/cachix-agent.nix @@ -37,7 +37,9 @@ in { type = types.path; default = "/etc/cachix-agent.token"; description = lib.mdDoc '' - Required file that needs to contain CACHIX_AGENT_TOKEN=... + Required file that needs to contains: + + export CACHIX_AGENT_TOKEN=... ''; }; From c80294ef26ff5c896534101f8aa8d9f30bd1f3d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Domen=20Ko=C5=BEar?= Date: Wed, 12 Jul 2023 16:46:02 +0100 Subject: [PATCH 2/2] Update modules/services/cachix-agent.nix Co-authored-by: Michael Hoang --- modules/services/cachix-agent.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/services/cachix-agent.nix b/modules/services/cachix-agent.nix index 7d16da489..68bc61ce7 100644 --- a/modules/services/cachix-agent.nix +++ b/modules/services/cachix-agent.nix @@ -37,7 +37,7 @@ in { type = types.path; default = "/etc/cachix-agent.token"; description = lib.mdDoc '' - Required file that needs to contains: + Required file that needs to contain: export CACHIX_AGENT_TOKEN=... '';