From 09e60ca0530f62b937cf8b544bf04f5cac3b815e Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 16 May 2024 00:20:06 +0200 Subject: [PATCH] Replace unnecessary function --- lib/modules/rclone.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index b245af8..05925e9 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -66,8 +66,7 @@ let }; config = { - secretsScript = builtins.concatStringsSep - "\n" + secretsScript = lib.strings.concatLines (builtins.attrValues ( builtins.mapAttrs (name: path: "${name}=\"$(cat ${lib.escapeShellArg path})\"")