summaryrefslogtreecommitdiffstats
path: root/krebs/3modules/apt-cacher-ng.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-11-17 23:03:21 +0100
committermakefu <github@syntax-fehler.de>2015-11-17 23:03:21 +0100
commita3e074094b8c260825b0ae4caeb2170e562019a5 (patch)
tree9755fbb3b6558a475beb62862b4d5e395d476d83 /krebs/3modules/apt-cacher-ng.nix
parentb8dea556e9ccaa999ccb8c18cab730ce535cd873 (diff)
k 3 apt-cacher-ng: add CAfile
Diffstat (limited to 'krebs/3modules/apt-cacher-ng.nix')
-rw-r--r--krebs/3modules/apt-cacher-ng.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/krebs/3modules/apt-cacher-ng.nix b/krebs/3modules/apt-cacher-ng.nix
index 9224c72a..6f0ff815 100644
--- a/krebs/3modules/apt-cacher-ng.nix
+++ b/krebs/3modules/apt-cacher-ng.nix
@@ -11,6 +11,7 @@ let
LogDir: ${cfg.logDir}
PidFile: /var/run/apt-cacher-ng.pid
ExTreshold: ${toString cfg.cacheExpiration}
+ CAfile: ${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt
Port: ${toString cfg.port}
BindAddress: ${cfg.bindAddress}