From 7693faf903a2e5b0ec2d9ed138fa88c80597a3b3 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 16 May 2024 02:19:06 +0200 Subject: [PATCH] Export secrets properly --- lib/modules/rclone.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/modules/rclone.nix b/lib/modules/rclone.nix index 3c23ee0..2304dbc 100644 --- a/lib/modules/rclone.nix +++ b/lib/modules/rclone.nix @@ -99,7 +99,7 @@ let secretsScript = lib.strings.concatLines (builtins.attrValues ( builtins.mapAttrs - (name: path: "${name}=\"$(cat ${lib.escapeShellArg path})\"") + (name: path: "export ${name}=\"$(cat ${lib.escapeShellArg path})\"") config.secrets)); }; });