]> git.immae.eu Git - perso/Immae/Config/Nix/NUR.git/commitdiff
Fix implicit dependence
authorIsmaël Bouya <ismael.bouya@normalesup.org>
Mon, 17 Feb 2020 16:23:07 +0000 (17:23 +0100)
committerIsmaël Bouya <ismael.bouya@normalesup.org>
Fri, 24 Apr 2020 22:04:48 +0000 (00:04 +0200)
modules/duply_backup/default.nix

index 893137891e0c7ff7d84daaa45f45bc7d3274bc25..1e115be633fe08050d7525c382a9340d6c3f8248 100644 (file)
@@ -92,13 +92,11 @@ in
 
     };
 
-    security.pki.certificates = let
-      cert = pkgs.fetchurl {
+    security.pki.certificateFiles = [
+      (pkgs.fetchurl {
         url = "http://downloads.e.eriomem.net/eriomemca.pem";
         sha256 = "1ixx4c6j3m26j8dp9a3dkvxc80v1nr5aqgmawwgs06bskasqkvvh";
-      };
-    in [
-      (builtins.readFile cert)
+      })
     ];
   };
 }