summaryrefslogtreecommitdiff
path: root/modules/services/cachix-agent.nix
diff options
context:
space:
mode:
authorMike Vink <59492084+ivi-vink@users.noreply.github.com>2025-01-16 22:22:34 +0100
committerGitHub <noreply@github.com>2025-01-16 22:22:34 +0100
commit8e7bd91f353caacc0bc4105f573eb3e17f09e03a (patch)
treec5059edcbebd9644290cad7c653c49a36d593021 /modules/services/cachix-agent.nix
parent6bd39d420578aacf7c0bab7de3e7027b952115ae (diff)
parentbd921223ba7cdac346477d7ea5204d6f4736fcc6 (diff)
Merge branch 'LnL7:master' into masterHEADmaster
Diffstat (limited to 'modules/services/cachix-agent.nix')
-rw-r--r--modules/services/cachix-agent.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/services/cachix-agent.nix b/modules/services/cachix-agent.nix
index 68bc61c..d9e4a90 100644
--- a/modules/services/cachix-agent.nix
+++ b/modules/services/cachix-agent.nix
@@ -9,7 +9,7 @@ in {
enable = mkOption {
type = types.bool;
default = false;
- description = lib.mdDoc ''
+ description = ''
Enable to run Cachix Agent as a system service.
Read [Cachix Deploy](https://docs.cachix.org/deploy/) documentation for more information.
@@ -19,13 +19,13 @@ in {
name = mkOption {
type = types.str;
default = config.networking.hostName;
- description = lib.mdDoc ''
+ description = ''
Agent name, usually the same as the hostname.
'';
};
package = mkOption {
- description = lib.mdDoc ''
+ description = ''
Package containing cachix executable.
'';
type = types.package;
@@ -36,7 +36,7 @@ in {
credentialsFile = mkOption {
type = types.path;
default = "/etc/cachix-agent.token";
- description = lib.mdDoc ''
+ description = ''
Required file that needs to contain:
export CACHIX_AGENT_TOKEN=...
@@ -46,7 +46,7 @@ in {
logFile = mkOption {
type = types.nullOr types.path;
default = "/var/log/cachix-agent.log";
- description = lib.mdDoc "Absolute path to log all stderr and stdout";
+ description = "Absolute path to log all stderr and stdout";
};
};
@@ -58,7 +58,7 @@ in {
exec ${cfg.package}/bin/cachix deploy agent ${cfg.name}
'';
- path = [ config.nix.package pkgs.coreutils ];
+ path = [ config.nix.package pkgs.coreutils config.environment.systemPath ];
environment = {
NIX_SSL_CERT_FILE = "${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";