diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/duply_backup/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/duply_backup/default.nix b/modules/duply_backup/default.nix index 89313789..1e115be6 100644 --- a/modules/duply_backup/default.nix +++ b/modules/duply_backup/default.nix | |||
@@ -92,13 +92,11 @@ in | |||
92 | 92 | ||
93 | }; | 93 | }; |
94 | 94 | ||
95 | security.pki.certificates = let | 95 | security.pki.certificateFiles = [ |
96 | cert = pkgs.fetchurl { | 96 | (pkgs.fetchurl { |
97 | url = "http://downloads.e.eriomem.net/eriomemca.pem"; | 97 | url = "http://downloads.e.eriomem.net/eriomemca.pem"; |
98 | sha256 = "1ixx4c6j3m26j8dp9a3dkvxc80v1nr5aqgmawwgs06bskasqkvvh"; | 98 | sha256 = "1ixx4c6j3m26j8dp9a3dkvxc80v1nr5aqgmawwgs06bskasqkvvh"; |
99 | }; | 99 | }) |
100 | in [ | ||
101 | (builtins.readFile cert) | ||
102 | ]; | 100 | ]; |
103 | }; | 101 | }; |
104 | } | 102 | } |