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