From 87f21ac4e69a6542a29310b49e7523f0e324a312 Mon Sep 17 00:00:00 2001 From: Leona Maroni Date: Fri, 25 Aug 2023 15:26:23 +0200 Subject: [PATCH] nixos/paperless: allow systemd services to read ca-certificates This fixes a regression introduced with the update to 1.17.0. Since this version paperless-ngx checks the ssl certificates of remote email servers. --- nixos/modules/services/misc/paperless.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nixos/modules/services/misc/paperless.nix b/nixos/modules/services/misc/paperless.nix index 0683a1f922a..74a3b49ac9a 100644 --- a/nixos/modules/services/misc/paperless.nix +++ b/nixos/modules/services/misc/paperless.nix @@ -43,6 +43,8 @@ let "-/etc/nsswitch.conf" "-/etc/hosts" "-/etc/localtime" + "-/etc/ssl/certs" + "-/etc/static/ssl/certs" "-/run/postgresql" ] ++ (optional enableRedis redisServer.unixSocket); BindPaths = [